• Resolved bnmwebmaster

    (@bnmwebmaster)


    Hi,

    I’ve filled in two support ticket requests on your website (one over two weeks ago) but I don’t receive any email confirmation with a ticket number to follow up with. I just receive a message to say : Your ticket has been submitted. One of our agents will be in touch as soon as humanly possible.

    My maps are not displaying and the admin menu is blank. When I click on it with debug on, I’m getting:

    Fatal error: Uncaught Exception: Document is empty in /home/dev.******.com/www/wp-content/plugins/wp-google-maps/includes/class.dom-document.php:178 Stack trace: #0 /home/dev.******.com/www/wp-content/plugins/wp-google-maps/includes/class.dom-document.php(233): WPGMZA\DOMDocument->querySelector(‘body’) #1 /home/dev.******.com/www/wp-content/plugins/wp-google-maps/includes/class.plugin.php(183): WPGMZA\DOMDocument->saveInnerBody() #2 /home/dev.******.com/www/wp-content/plugins/wp-google-maps/includes/class.script-loader.php(597): WPGMZA\Plugin->getLocalizedData() #3 /home/dev.******.com/www/wp-content/plugins/wp-google-maps/includes/class.script-loader.php(584): WPGMZA\ScriptLoader->enqueueLocalizedData() #4 /home/dev.******.com/www/wp-content/plugins/wp-google-maps/includes/class.plugin.php(164): WPGMZA\ScriptLoader->enqueueScripts() #5 /home/dev.******.com/www/wp-content/plugins/wp-google-maps/legacy-core.php(5912): WPGMZA\Plugin->loadScripts() #6 /home/dev.******.com/www/wp-includes/class-wp-hook in /home/dev.******.com/www/wp-content/plugins/wp-google-maps/includes/class.dom-document.php on line 178

Viewing 5 replies - 1 through 5 (of 5 total)
  • Having the same issue. Any help appreciated.

    Hi there

    Thank you for getting in touch and thank you for bringing this to our attention.

    We have seen this behaviour when you are running an environment in which PHP has been compiled with the –enable-dom flag set to “shared”.

    We recommend that you try any of the following:

    – Switching PHP version
    – Removing the flag and re-compiling
    – Installing libxml
    – Speaking to your host about enabling the standard DOM features on your server

    We are looking into why this flag breaks DOMDocument, in the mean time please use any of those workarounds.

    Please let us know if that helps?

    Kind regards
    – Perry

    Hey @perryrylance,

    I tried switching version from 7.0 to 7.3 with no changes (don’t want to go with lower version of PHP because of one plugin, no point).

    libxml is installed, I confirmed that via phpinfo(); but still no fix.
    – I tried speaking to the support of the shared hosting but they told me that -enable-dom flag is not added at all.

    I went back to the older version since this is the last resort I can rely to currently. I hope you fix this in the next version. The version in which the error doesn’t occur is 7.10.18.

    I tried 7.10.19 and it gives back same error so in that version there were some changes regarding this issue. Hope it helps you.

    Hi @borish1

    Thank you very much, that does help.

    Unfortunately this appears to be an issue with PHP and the built in DOM library, which only happens on certain setups. I’m genuinely sorry to be the bearer of bad news but this is not something we can fix in our next version,

    However, we have had other reports of this and would very much like to look into a solution for this issue. As of yet we have not been able to reproduce this issue at all, if you would be comfortable sharing access to your site with us, we would very much appreciate a look at your setup and the opportunity to run some tests, with a view to establish a solution.

    If you would be open to us doing that, could I please ask you to open a ticket through our desk, for the attention of Perry?

    Kind regards
    – Perry

    Hi everyone

    I’m very pleased to report that we were able to establish a workaround for this issue.

    Our next patch, 7.11.28, will address this issue, and should go live on Monday. If you require a quick fix ahead of the patch going to release, please get in touch.

    For anyone concerned with the technical information, this is due to the property documentElement not being defined on DOMDocument on certain PHP installations. This appears to be either a bug in PHP or perhaps the result of a failed installation. We were unable to find any reports or articles on this so far, but have adapted our code to use an XPath on the document to find the element.

    Kind regards
    – Perry

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Maps not displaying. Admin menu not displaying’ is closed to new replies.