• Resolved ThMarket

    (@thmarket)


    I tried to changed my Title Seperator in Yeast SEO but I noticed that if I save any setting in the “Search Appearance – Yoast SEO” Settings (even if I just save and don’t change anything) it results in an error showing up on my website:

    Warning: Undefined array key “url” in /[MY-CENSORED-URL]/wp-content/plugins/wordpress-seo/src/helpers/schema/image-helper.php on line 98

    I use Yoast SEO 18.1 with WordPress 5.9 and PHP 8.0.15.

    I could reproduce the issue in an development copy of my website. Is soon I click save in the Yoast SEO “Search Appearance” section I receive this error. Save settings in other Yoast SEO Settings sections work like they should.

    Does anybody know how I can solve this?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Michael Ti?a

    (@mikes41720)

    Hi @thmarket

    It does look like you’re using the latest version of WordPress 5.9 and Yoast SEO 18.1, so that is a bit strange.

    Can you please try resetting our indexables in the database tables by following the steps below?
    1. Install & activate the?Yoast Test Helper plugin
    2. Go to Tools > Yoast Test
    3. Locate the Yoast SEO section and click on the ‘Reset indexables tables & migrations’, ‘Reset Prominent words calculation’, and ‘Reset Internal link counter’ buttons. After each click, the page will reload to confirm that each reset was successful. Note: Resetting the optimization doesn’t undo any of the hard work you’ve put into the plugin as the SEO data is also stored in WordPress’ default tables. It’ll just reset the custom Yoast tables that contain the combined data pulled from those default tables.
    4. Go to SEO > Tools, and under SEO data, click the “Start SEO data optimization” button to allow Yoast to rescan your?content.

    Could you check if that helps resolve the issue?

    Thread Starter ThMarket

    (@thmarket)

    Hi @mikes41720

    Thank you for your kind reply.

    I reset the indexables (‘Reset indexables tables & migrations’, ‘Reset Prominent words calculation’, and ‘Reset Internal link counter’) like requested but unfortunately this did not solve the issue. After the 4 steps again I receive the error message after saving settings in the Yoast SEO “Search Appearance” section.

    I tried out a lot in the meantime:
    – Deactivating other WP-Plugins didn’t solve the issue.
    – Also a rollback to Yeast SEO 17.7.1 did not change anything.
    – Other Websites that I manage with similar configuration and on the same server don’t show this issue, only this important one (and it’s development copy).

    • This reply was modified 3 years ago by ThMarket.
    Plugin Support Michael Ti?a

    (@mikes41720)

    Hi,

    You’ve mentioned that this issue seems to be specific to this site only as it’s working on your other sites.

    Could you try reinstalling a fresh copy of Yoast SEO 18.2 manually via FTP and see if this helps? As we were unable to reproduce this issue by trying to make changes in the Search Appearance section.

    Thread Starter ThMarket

    (@thmarket)

    Hi @mikes41720

    thank you for your help.

    replacing the files in /wp-content/plugins/wordpress-seo did not work but I think I have found out what is causing the error:
    I previously selected a SVG file as Organization logo in the Search Appearance – Yoast SEO settings. That previously worked well but now caused the error message on our website as soon we save any Search Appearance settings again.

    Plugin Support Michael Ti?a

    (@mikes41720)

    Hi @thmarket

    Thanks for providing this information. I did find this similar GitHub issue and while it isn’t exactly the same error message, it did result in some issues when using an SVG file as the organization logo.

    Could you please try and use a JPG or PNG file and see if this fixes the issue?

    Thread Starter ThMarket

    (@thmarket)

    Hi @mikes41720

    I already tried to use a JPG file instead and this “solves” the issue as a workaround.

    Since SVG Logos had been supported by Yeast SEO (before Version 16.1.1?) I never would have guessed that it was the cause of this error message.

    SVG Logos are very common these days, so it would be nice if this could be fixed.

    While SVG is common, it isn’t a default MIME that is allowed in WordPress either, so it’s not as easily allowed or fixed. The Github issue is still open though, so the discussion can continue there.

    As the culprit here is found, I’m going ahead and marking the topic as resolved here to keep the overview on our forums. Thank you.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Saving settings in Yeast SEO results in error ” Undefined array key “url””’ is closed to new replies.