• Resolved freakency

    (@freakency)


    I moved host and I am guessing the root to files has changed.
    It seemed ok when i moved but if i save anything i get lots of errors telling me this:

    Warning: filesize(): stat failed for /home/customer/www/sitename.com/public_html/wp-content/uploads/2018/07/xxx.jpg in
    /home/customer/www/croatiagems.com/public_html/wp-content/plugins/wordpress-seo/src/builders/indexable-link-builder.php on line 312

    This goes away if i disable Yoast.
    I think the path to the files has changed how do i flush this? I have tried clearing site cache and Cloudflare cache.

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

    (@maybellyne)

    Hello @freakency,

    We are sorry about that error. Just to confirm, what version of the Yoast SEO plugin is currently running on your site?

    Thread Starter freakency

    (@freakency)

    17.5 but have tried a couple of versions back and a major version back and they all do this.

    Looking at the error, my guess is it is trying to match a size to an image that doesn’t live on that path anymore. My guess is the file structure, so URL, changed slightly when we moved server. We updated all the URLs but Yoast is still using the old address.

    I have tried uninstalling and putting a fresh copy on but nothing seems to fix it.

    Is there a way for it to rescan or reset file names somehow? I can’t see an option to flush within the plugin

    Plugin Support Maybellyne

    (@maybellyne)

    Thanks for the feedback. Please try the following:

    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: this won’t actually erase your SEO data, which is also stored in WordPress’ default tables. It’ll just reset our index (custom tables) for that data.
    4. Go to SEO > Tools, and under SEO data, click the “Start SEO data optimization” button to allow Yoast to rescan your content.

    Does this resolve the issue? Do let us know.

    Thread Starter freakency

    (@freakency)

    I have tried the above. That sounded like it was exactly what i was looking for.
    However I have tried this and i still get same error as above

    Warning: filesize(): stat failed for /home/customer/www/sitename.com/public_html/wp-content/uploads/2018/07/xxx.jpg in /home/customer/www/sitename.com/public_html/wp-content/plugins/wordpress-seo/src/builders/indexable-link-builder.php on line 312

    (i have substituted xxx and sitename)

    I have also tried clearing both site cache and CLoudflare cache.

    Is there anything else I can try?

    Plugin Support Michael Ti?a

    (@mikes41720)

    Hi @freakency

    We would expect that resetting the indexables using the Yoast Test Helper plugin and rerunning the SEO data optimization process would address issues regarding the indexables.

    Would it be possible for you to try and manually reinstall the latest version of the Yoast SEO v17.5 plugin via FTP and see if this helps address the warning?

    Thread Starter freakency

    (@freakency)

    tried deleting plugin then downloading fresh copy via Upload Plugin option. Then deleted ans unzipped and re-added using ftp. Cleared site cache both throw same errors as before.

    I also get this error at the end of about 40 for the images as above:

    Warning: Cannot modify header information – headers already sent by (output started at /home/customer/www/xx.com/public_html/wp-content/plugins/wordpress-seo/src/builders/indexable-link-builder.php:312) in /home/customer/www/xx.com/public_html/wp-admin/post.php on line 231

    not sure if that throws any light on why it is not flushing properly.

    Plugin Support Michael Ti?a

    (@mikes41720)

    Hi,

    We understand you’ve tried reinstalling a fresh copy of Yoast SEO v17.5 via FTP but the warnings still appear.

    It might have to do with when you moved hosts and with the path to the root files. However, this is something we might need to investigate further, which we are unable to do so over these public forums. You might want to consider Yoast SEO Premium, so we can provide premium personal support and take a closer look at this.

    Otherwise, please do file a bug report by following the steps here. We’ll also be leaving this forum thread open for a few days in case there are other suggestions or advice from other users.

    Plugin Support devnihil

    (@devnihil)

    We are going ahead and marking this issue as resolved due to inactivity. If you require any further assistance please create a new issue.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘moved site now links need flushing’ is closed to new replies.