Critical Error | Invalid require_once() call
-
Hi guys,
your latest update (9.0.25) has a fatal error in it’s code, which makes the wordpress page fail to load.
I don’t know if this only affects me, if not, here is my fix.Error log:
[11-Oct-2023 08:26:04 UTC] PHP Fatal error: require_once(): Failed opening required ‘/home/XXX/public_html/wp-content/plugins/wp-google-maps/includes/../class.selector-to-xpath.php’ (include_path=’.:/opt/alt/php73/usr/share/pear’) in /home/XXX/public_html/wp-content/plugins/wp-google-maps/includes/class.dom-element.php on line 8I already found the issue and was able to solve this by editing the includes/class.dom-element.php
Issuer: Bad require_once() call in class.dom-element.php:15
require_once(plugin_dir_path(__FILE__) . ‘../class.selector-to-xpath.php’);
How have I fixed this?
require_once(plugin_dir_path(__FILE__) . ‘class.selector-to-xpath.php’);
- The topic ‘Critical Error | Invalid require_once() call’ is closed to new replies.