PHP Fatal error: Uncaught Error: Class “WPGMZA\\Page” not found in

[ad_1]

wp-google-maps 9.0.22
wp-google-maps-pro 8.1.20
PHP fatal error

PHP Fatal error:  Uncaught Error: Class "WPGMZA\\Page" not found in
 /srv/the_site/WebSite/htdocs/wp-content/plugins/wp-google-maps/includes/class.installer-page.php:5
Stack trace:
#0 /srv/the_site/WebSite/htdocs/wp-content/plugins/wp-google-maps-pro/legacy-core.php(15): require_once()
#1 /srv/the_site/WebSite/htdocs/wp-content/plugins/wp-google-maps/includes/class.plugin.php(13): wpgmza_require_once()
#2 /srv/the_site/WebSite/htdocs/wp-content/plugins/wp-google-maps-pro/legacy-core.php(15): require_once('...')
#3 /srv/the_site/WebSite/htdocs/wp-content/plugins/wp-google-maps/legacy-core.php(27): wpgmza_require_once()
#4 /srv/the_site/WebSite/htdocs/wp-content/plugins/wp-google-maps/wpGoogleMaps.php(689): require_once('...')
#5 /srv/the_site/WebSite/htdocs/wp-settings.php(462): include_once('...')
#6 /srv/the_site/WebSite/htdocs/wp-config.php(91): require_once('...')
#7 /srv/the_site/WebSite/htdocs/wp-load.php(50): require_once('...')
#8 /srv/the_site/WebSite/htdocs/wp-blog-header.php(13): require_once('...')
#9 /srv/the_site/WebSite/htdocs/index.php(17): require('...')
#10 {main}
  thrown in /srv/the_site/WebSite/htdocs/wp-content/plugins/wp-google-maps/includes/class.installer-page.php on line 5

The Class “WPGMZA\\Page” does not appear to be defined in either plugin.

This error began when we updated the site a few days ago. All plugins and WordPress are at the current versions.

It is referenced here:
./includes/class.page.php:add_action(‘wp_ajax_wpgmza_hide_chat’, array(‘WPGMZA\\Page‘, ‘hideChat’)); (line 108)

When we comment out line 108 in file includes/class.page.php , the web site becomes available.

When line 108 is present, neither the web site, nor the /wp-admin are available, both cases produce the stack trace posted above.

Cheers!

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer