Error in Map module of Presence Builder editor

Created:

2016-11-16 12:50:29 UTC

Modified:

2017-08-16 16:12:36 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Error in Map module of Presence Builder editor

Applicable to:

  • Web Presence Builder
  • Plesk 12.0 for Linux

Symptoms

There may be two different symptoms:

  1. Unable to use Maps module, the following error appears upon an attempt to add point:

    Base_ORM_Exception: Undefined property "uuid" in object "SB_Widget_Map_Marker". in /usr/local/sb/include/Base/ORM/Object.php on line 249
  2. The following error may occur during restoration of the website:

    Error: Site (353b8144-a459-dadc-91dd-42e86c05d94d) can't be restored. Base_SyntaxException: PHP Notice : Undefined index: uuid
    file: /raid/sb/include/SB/Widget/Map.php
    line: 95
    code: 8

Cause

The issue is caused by software issue with internal ids #PPPM-1773 (for Presence Builder in Plesk) and #PPB-4302 , ##PPB-4303 (for Presence Builder Standalone). It has already been fixed according to Plesk 12 Release Notes .

Resolution

Install the latest updates of Presence Builder.

Workaround

If upgrade is not an option you may apply workaround:

If you need to add Maps module:

  1. Create an uuid column for widget_map_markers table in sitebuilder5 database:

    mysql> alter table widget_map_markers add `uuid` varchar(36) NOT NULL DEFAULT '0';
  2. Add index into this table:

    mysql> alter table `widget_map_markers` ADD UNIQUE (`uuid`);

If you want to restore snapshot:

Note: Patch is for PPB 12.0.5 for Odin Service Automation and Plesk only:

Replace file <PPB_webspace_root>/htdocs/include/SB/Widget/Map.php with the patched one.

Attachments:

Have more questions? Submit a request
Please sign in to leave a comment.