• Resolved balbabal

    (@balbabal)


    Hi,

    A previous version of WP Google Maps was installed on my website and it was working.
    We decided to update all extensions & WordPress to latest version.
    With 8.1.11, WP Google Maps won’t work on admin part on this website (PHP 7.3.23 or 7.3.27), when trying to edit a map (admin.php?page=wp-google-maps-menu&action=edit&map_id=1)
    Enabling WP_DEBUG tell me this :

    Fatal error:  Uncaught Error: Call to a member function setAttribute() on null in wp-content/plugins/wp-google-maps/includes/map-edit-page/class.feature-panel.php:16
    Stack trace:
    #0 wp-content/plugins/wp-google-maps/includes/map-edit-page/class.marker-panel.php(11): WPGMZA\FeaturePanel->__construct('1')
    #1 wp-content/plugins/wp-google-maps/includes/map-edit-page/class.map-edit-page.php(133): WPGMZA\MarkerPanel->__construct('1')
    #2 [internal function]: WPGMZA\MapEditPage->__construct()
    #3 wp-content/plugins/wp-google-maps/includes/class.factory.php(57): ReflectionClass->newInstanceArgs(Array)
    #4 wp-content/plugins/wp-google-maps/includes/class.admin-ui.php(85): WPGMZA\Factory::createInstance()
    #5 wp-content/plugins/wp-google-maps/includes/class.admin-ui.php(124): WPGMZA\UI\Admin->onMainMe in <b>wp-content/plugins/wp-google-maps/includes/map-edit-page/class.feature-panel.php</b> on line <b>16</b><br />

    DOMDocument can not retreive marker-panel.html.php content (no error but, in DOMDocument::loadPHPFile(), whend doing $this->saveHTML() after $this->loadHTML($html), the code marker-panel is not available, in $html, the code is available) and by the way, return NULL on querySelector() request.
    Does anyone encounter this “error” ? Amazing !
    Can someone help me to solve this ?

    • This topic was modified 3 years, 7 months ago by balbabal.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @balbabal,

    Thank you so much for getting in touch and ur sincerest apologies for the inconvenience experienced.

    Please navigate to -> Maps -> Settings -> Advanced -> Kindly enable “Developer Mode” and save the settings.

    Please then deactivate “Developer Mode” and save once more.

    If this fails to assist could I kindly ask you to perhaps get in touch with us directly via our website? One of our agents should better be able to assist with a few debugging steps in order to correct the issue being seen.

    Thread Starter balbabal

    (@balbabal)

    We found that Awesome Fontawesome Collection 1.4 was in conclict with WP Google Maps.
    Deactivate this extension solve the issue.
    Don’t know why.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Won’t work on admin part’ is closed to new replies.