• Resolved taimerlan

    (@taimerlan)


    Hello,
    I got error from update
    Uncaught TypeError: trim(): Argument #1 ($string) must be of type string, WP_Error given in /home/r/rtemisyf/xcarpet230.com/public_html/wp-content/plugins/wordpress-seo/src/presenters/canonical-presenter.php:50\nStack trace:\n#0 /home/r/rtemisyf/ru/public_html/wp-content/plugins/wordpress-seo/src/presenters/canonical-presenter.php(50): trim(Object(WP_Error))\n#1 /home/r/rtemisyf/ru/public_html/wp-content/plugins/wordpress-seo/src/presenters/abstract-indexable-tag-presenter.php(37): Yoast\\WP\\SEO\\Presenters\\Canonical_Presenter->get()\n#2 /home/r/rtemisyf/ru/public_html/wp-content/plugins/wordpress-seo/src/integrations/front-end-integration.php(326): Yoast\\WP\\SEO\\Presenters\\Abstract_Indexable_Tag_Presenter->present()\n#3 [internal function]: Yoast\\WP\\SEO\\Integrations\\Front_End_Integration->present_head('')\n#4 /home/r/rtemisyf/ru/public_html/wp-includes/class-wp-hook.php(308): call_user_func_array(Array, Array)\n#5 /home/r/rtemisyf/xcarpet230.com/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)\n#6 /home/r/rtemisyf/xcarpet230.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)\n#7 /home/r/rtemisyf/xcarpet230.com/public_html/wp-content/plugins/wordpress-seo/src/integrations/front-end-integration.php(300): do_action('wpseo_head')\n#8 [internal function]: Yoast\\WP\\SEO\\Integrations\\Front_End_Integration->call_wpseo_head('')\n#9 /home/r/rtemisyf/xcarpet230.com/public_html/wp-includes/class-wp-hook.php(308): call_user_func_array(Array, Array)\n#10 /home/r/rtemisyf/xcarpet230.com/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)\n#11 /home/r/rtemisyf/xcarpet230.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)\n#12 /home/r/rtemisyf/xcarpet230.com/public_html/wp-includes/general-template.php(3043): do_action('wp_head')\n#13 /home/r/rtemisyf/xcarpet230.com/public_html/wp-content/themes/bono/header.php(32): wp_head()\n#14 /home/r/rtemisyf/xcarpet230.com/public_html/wp-includes/template.php(783): require_once('/home/r/rtemisy...')\n#15 /home/r/rtemisyf/xcarpet230.com/public_html/wp-includes/template.php(718): load_template('/home/r/rtemisy...', true, Array)\n#16 /home/r/rtemisyf/xcarpet230.com/public_html/wp-includes/general-template.php(48): locate_template(Array, true, true, Array)\n#17 /home/r/rtemisyf/xcarpet230.com/public_html/wp-content/themes/bono/woocommerce/archive-product.php(22): get_header('shop')\n#18 /home/r/rtemisyf/xcarpet230.com/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('/home/r/rtemisy...')\n#19 /home/r/rtemisyf/xcarpet230.com/public_html/wp-content/plugins/woocommerce/templates/taxonomy-product-cat.php(22): wc_get_template('archive-product...')\n#20 /home/r/rtemisyf/xcarpet230.com/public_html/wp-includes/template-loader.php(106): include('/home/r/rtemisy...')\n#21 /home/r/rtemisyf/xcarpet230.com/public_html/wp-blog-header.php(19): require_once('/home/r/rtemisy...')\n#22 /home/r/rtemisyf/xcarpet230.com/public_html/index.php(17): require('/home/r/rtemisy...')\n#23 {main}\n thrown in /home/r/rtemisyf/xcarpet230.com/public_html/wp-content/plugins/wordpress-seo/src/presenters/canonical-presenter.php on line 50, referer https://xcarpet230.com/catalog/moyushchie-sredstva/kovry-i-tekstil/?pa_brand=chemspec

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Maybellyne

    (@maybellyne)

    Hello @taimerlan

    I’m sorry about the fatal error you experienced. Often, we see problems occur in combination with another plugin or theme. The fastest way to rule out any conflict is to deactivate all non-Yoast plugins and switch to a standard theme like Twenty Twenty.

    Please test this on your development or staging site if you have one. If not, we recommend using the Health Check & Troubleshooting plugin. This plugin has a troubleshooting mode, which does not affect normal visitors to your site.

    If you’re unfamiliar with checking for conflicts, we’d like to point you to a step-by-step guide that will walk you through the process: How to check for plugin conflicts

    If you feel uncomfortable doing this yourself or if this does not solve your issue, our Yoast SEO Premium plugin comes with one year of (technical) support.

    Plugin Support Maybellyne

    (@maybellyne)

    This thread was marked resolved due to a lack of activity, but you’re always welcome to re-open the topic. Please read this post before opening a new request.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PHP Fatal error’ is closed to new replies.