• Resolved Kishan Kothari

    (@kishankothari)


    Active Plugins:
    Polylang – Version 3.3
    Yoast SEO – Version 19.11
    Yoast SEO Premium – Version 19.5

    Yoast SEO Premium not compatible with Polylang plugin.

    Test case :
    1. Add two languages in Polylang (English and Arabic)
    2. Add “test EN” category in English Language
    3. Add “test AR” category in Arabic Language
    4. Edit “test EN” category and Select Translations category “test AR” (https://prnt.sc/aHvFHzld9bNc) and click update button.

    You will get error.

    [06-Dec-2022 09:40:12 UTC] PHP Warning: Creating default object from empty value in D:\xampp\htdocs\test\wp-content\plugins\wordpress-seo-premium\src\actions\prominent-words\save-action.php on line 89
    [06-Dec-2022 09:40:12 UTC] PHP Fatal error: Uncaught Error: Call to undefined method stdClass::save() in D:\xampp\htdocs\test\wp-content\plugins\wordpress-seo-premium\src\actions\prominent-words\save-action.php:96
    Stack trace:
    #0 D:\xampp\htdocs\test\wp-content\plugins\wordpress-seo-premium\src\integrations\admin\prominent-words\metabox-integration.php(113): Yoast\WP\SEO\Premium\Actions\Prominent_Words\Save_Action->link(‘term’, 14, Array)
    #1 D:\xampp\htdocs\test\wp-includes\class-wp-hook.php(310): Yoast\WP\SEO\Premium\Integrations\Admin\Prominent_Words\Metabox_Integration->save_prominent_words_for_term(14)
    #2 D:\xampp\htdocs\test\wp-includes\class-wp-hook.php(332): WP_Hook->apply_filters(”, Array)
    #3 D:\xampp\htdocs\test\wp-includes\plugin.php(517): WP_Hook->do_action(Array)
    #4 D:\xampp\htdocs\test\wp-includes\taxonomy.php(3333): do_action(‘edit_term’, 14, 14, ‘term_translatio…’, Array)
    #5 D:\xampp\htdocs\test\wp-content\plugins\polylang\include\translated-object.php(321): wp_update_term(14, ‘term_translatio…’, Array)
    #6 D:\xampp\htdocs\test\wp-co in D:\xampp\htdocs\test\wp-content\plugins\wordpress-seo-premium\src\actions\prominent-words\save-action.php on line 96

Viewing 1 replies (of 1 total)
  • Plugin Support Suwash

    (@suascat_wp)

    @kishankothari

    This forum is reserved for supporting the free version of Yoast SEO. As this topic is about a premium plugin, this thread has been marked as resolved per the forum guidelines.

    I have confirmed your email was received in our inbox. Our support agent investigate the issue and will get back to you soon. Thank you for your patience in advance.

Viewing 1 replies (of 1 total)
  • The topic ‘PHP Fatal error: Uncaught Error: Call to undefined method stdClass::save()’ is closed to new replies.