Symptoms

Google Maps module of Web Presence Builder throws the following error on attempt to publish a website:

Oops! Something went wrong.
This page didn't load Google Maps correctly. See the JavaScript console for technical details.

But in Google maps widget configuration there is no Google Maps API key field.

Cause

Google announced changes in the Maps APIs authentication in Updates to Google Maps APIs Standard Plan and so corresponding changes should be applied to Web Presence Builder.

Resolution

Pre-requisites:

  1. Centralized instance of Web Presence Builder should be upgraded to version 12.0.7.
  2. IonCube extension is available for sw-engine interpreter on host where WPB centralized instance is hosted..

Patch application process:

  1. Login to node where WPB centralized instance is hosted.
  2. Download the patch for Web Presence Builder.
  3. Create a backup of directory where WPB instance resides.
  4. Extract the archive to some temporary directory:

    mkdir /root/wpb-temp
    cd /root/wpb-temp
    unzip -o ppb-12.0-plesk-patch-ppb-4464.zip
    
  5. Replace files of WPB instance with ones supplied by patch.

  6. Ensure that debug mode is enabled in WPB config:

    vi ./sb/config (path is relative to instance home)
    [debug]
    debug = on
    

Internal content