• Resolved fpablo

    (@fpablo)


    Hi,

    I have been seeing such errors in the logs for a long time:

    2024-01-04T08:09:14+00:00 CRITICAL Uncaught TypeError: property_exists(): Argument #1 ($object_or_class) must be of type object|string, null given in /home/.../public_html/wp-content/plugins/accelerated-mobile-pages/templates/features.php:221
    Stack trace:
    #0 /home/.../public_html/wp-content/plugins/accelerated-mobile-pages/templates/features.php(221): property_exists(NULL, 'term_id')
    #1 /home/.../public_html/wp-content/plugins/accelerated-mobile-pages/templates/features.php(487): ampforwp_amphtml_generator()
    #2 /home/.../public_html/wp-includes/class-wp-hook.php(324): ampforwp_home_archive_rel_canonical('')
    #3 /home/.../public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
    #4 /home/.../public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #5 /home/.../public_html/wp-includes/general-template.php(3052): do_action('wp_head')
    #6 /home/.../public_html/wp-content/themes/goodlife-wp-child/header.php(39): wp_head()
    #7 /home/.../public_html/wp-includes/template.php(790): require_once('/home/......')
    #8 /home/.../public_html/wp-includes/template.php(725): load_template('/home/......', true, Array)
    #9 /home/.../public_html/wp-includes/general-template.php(48): locate_template(Array, true, true, Array)
    #10 /home/.../public_html/wp-content/themes/goodlife-wp-child/category.php(13): get_header()
    #11 /home/.../public_html/wp-includes/template-loader.php(106): include('/home/......')
    #12 /home/.../public_html/wp-blog-header.php(19): require_once('/home/......')
    #13 /home/.../public_html/index.php(17): require('/home/......')
    #14 {main}
      thrown w /home/.../public_html/wp-content/plugins/accelerated-mobile-pages/templates/features.php w linii 221

    I have the current version of the plugin, and wordpress.
    What could be the problem?

Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘CRITICAL Uncaught TypeError: property_exists()’ is closed to new replies.