Fatal error
-
[14-Mar-2024 16:13:50 UTC] PHP Fatal error: Uncaught TypeError: addslashes(): Argument #1 ($string) must be of type string, stdClass given in /httpdocs/wp-content/plugins/wp-google-maps/includes/3rd-party-integration/class.gutenberg.php:140 Stack trace: #0 /httpdocs/wp-content/plugins/wp-google-maps/includes/3rd-party-integration/class.gutenberg.php(140): addslashes() #1 /httpdocs/wp-includes/class-wp-block.php(258): WPGMZA\Integration\Gutenberg->onRender() #2 /httpdocs/wp-includes/blocks.php(1484): WP_Block->render() #3 /httpdocs/wp-includes/blocks.php(1522): render_block() #4 /httpdocs/wp-includes/class-wp-hook.php(324): do_blocks() #5 /httpdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters() #6 /httpdocs/wp-includes/post-template.php(256): apply_filters() #7 /httpdocs/wp-content/themes/pe-eco-energy/tpl/content-page.php(35): the_content() #8 /httpdocs/wp-includes/template.php(792): require('...') #9 /httpdocs/wp-includes/template.php(725): load_template() #10 /httpdocs/wp-includes/general-template.php(206): locate_template() #11 /httpdocs/wp-content/themes/pe-eco-energy/page.php(31): get_template_part() #12 /httpdocs/wp-includes/template-loader.php(106): include('...') #13 /httpdocs/wp-blog-header.php(19): require_once('...') #14 /httpdocs/index.php(17): require('...') #15 {main} thrown in /httpdocs/wp-content/plugins/wp-google-maps/includes/3rd-party-integration/class.gutenberg.php on line 140
This error happens because addslashes($v) on line 140 in class.gutenberg.php gets an object and addslashes only takes a string.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Fatal error’ is closed to new replies.