Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in
-
I receive an error when I visit my page every now and then. I use the Code Snippet plugin to connect three fields with a Google Sheet. It seems it’s only one of the fields that is causing this error. If I refresh the page it usually loads properly but I have gotten alerts from Google that the site’s server is down, I’m guessing when they crawl the site at that exact moment.
I have tried Elementor Support and they pointed me to the plugin support. Any ideas would be appreciated.
Fatal error: Uncaught Error: Cannot use object of type WP_Error as array
in /home/customer/www/ianclarkmortgages.ca/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(446) : eval()’d code on line 11Call stack:
variable_value_shortcode()
wp-includes/shortcodes.php:343
do_shortcode_tag()
preg_replace_callback()
wp-includes/shortcodes.php:218
do_shortcode()
wp-content/plugins/elementor-pro/modules/dynamic-tags/tags/shortcode.php:53
ElementorPro\M\D\T\Shortcode::render()
wp-content/plugins/elementor/core/dynamic-tags/tag.php:35
Elementor\C\D\Tag::get_content()
wp-content/plugins/elementor/core/dynamic-tags/manager.php:216
Elementor\C\D\Manager::get_tag_data_content()
call_user_func_array()
wp-content/plugins/elementor/core/dynamic-tags/manager.php:109
Elementor\C\D\Manager::parse_tag_text()
wp-content/plugins/elementor/core/dynamic-tags/manager.php:74
Elementor\C\D\Manager::Elementor\C\D\{closure}()
preg_replace_callback()
wp-content/plugins/elementor/core/dynamic-tags/manager.php:73
Elementor\C\D\Manager::parse_tags_text()
wp-content/plugins/elementor/includes/controls/base-data.php:81
Elementor\Base_Data_Control::parse_tags()
wp-content/plugins/elementor/includes/base/controls-stack.php:1154
Elementor\Controls_Stack::parse_dynamic_settings()
wp-content/plugins/elementor/includes/base/controls-stack.php:1005
Elementor\Controls_Stack::get_parsed_dynamic_settings()
wp-content/plugins/elementor/core/files/css/post.php:296
Elementor\C\F\C\Post::render_styles()
wp-content/plugins/elementor/core/dynamic-tags/dynamic-css.php:32
Elementor\C\D\Dynamic_CSS::render_styles()
wp-content/plugins/elementor/core/dynamic-tags/dynamic-css.php:36
Elementor\C\D\Dynamic_CSS::render_styles()
wp-content/plugins/elementor/core/dynamic-tags/dynamic-css.php:36
Elementor\C\D\Dynamic_CSS::render_styles()
wp-content/plugins/elementor/core/dynamic-tags/dynamic-css.php:36
Elementor\C\D\Dynamic_CSS::render_styles()
wp-content/plugins/elementor/core/dynamic-tags/dynamic-css.php:36
Elementor\C\D\Dynamic_CSS::render_styles()
wp-content/plugins/elementor/core/files/css/post.php:178
Elementor\C\F\C\Post::render_css()
wp-content/plugins/elementor/core/files/css/base.php:617
Elementor\C\F\C\Base::parse_content()
wp-content/plugins/elementor/core/files/base.php:166
Elementor\C\F\Base::update_file()
wp-content/plugins/elementor/core/files/css/base.php:131
Elementor\C\F\C\Base::update()
wp-content/plugins/elementor/core/files/css/base.php:207
Elementor\C\F\C\Base::enqueue()
wp-content/plugins/elementor/core/files/css/post.php:199
Elementor\C\F\C\Post::enqueue()
wp-content/plugins/elementor/core/dynamic-tags/manager.php:424
Elementor\C\D\Manager::after_enqueue_post_css()
wp-includes/class-wp-hook.php:287
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:311
WP_Hook::do_action()
wp-includes/plugin.php:484
do_action()
wp-content/plugins/elementor/core/files/css/base.php:254
Elementor\C\F\C\Base::enqueue()
wp-content/plugins/elementor/core/files/css/post.php:199
Elementor\C\F\C\Post::enqueue()
wp-content/plugins/elementor/includes/frontend.php:647
Elementor\Frontend::enqueue_styles()
wp-content/plugins/elementor-pro/modules/theme-builder/classes/locations-manager.php:90
ElementorPro\M\T\C\Locations_Manager::enqueue_styles()
wp-includes/class-wp-hook.php:287
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:311
WP_Hook::do_action()
wp-includes/plugin.php:484
do_action()
wp-includes/script-loader.php:2004
wp_enqueue_scripts()
wp-includes/class-wp-hook.php:287
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:311
WP_Hook::do_action()
wp-includes/plugin.php:484
do_action()
wp-includes/general-template.php:3005
wp_head()
wp-content/themes/hello-elementor/header.php:21
require_once()
wp-includes/template.php:730
load_template()
wp-includes/template.php:676
locate_template()
wp-includes/general-template.php:48
get_header()
wp-content/plugins/elementor/modules/page-templates/templates/header-footer.php:9
include()
wp-includes/template-loader.php:106
require_once()
wp-blog-header.php:19
require()
index.php:17The page I need help with: [log in to see the link]
- The topic ‘Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in’ is closed to new replies.