Won’t work on admin part
-
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 ?
- The topic ‘Won’t work on admin part’ is closed to new replies.