• Resolved kleatus

    (@kleatus)


    I get this error message on every site i update PHP Fatal error occurred: Class ‘Yoast\WP\Lib\Model’ not found in /var/www/html/arkwincom/wp-content/plugins/wordpress-seo/src/models/indexable.php on line 81.

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 33 total)
  • Plugin Contributor Joost de Valk

    (@joostdevalk)

    Hi @kleatus

    sorry to hear you’re having issues!

    Luckily, this isn’t happening on every site, as I’ve updated quite a few sites myself without issue. Are you running any object caching?

    Thread Starter kleatus

    (@kleatus)

    I updated about 10 sites this morning and received this message after every upgrade. I stopped updating the plugin on my other sites after i saw this was happening. I am not running any object caching.

    Plugin Contributor Joost de Valk

    (@joostdevalk)

    What could happen (although it’s very weird if that happens on more sites), is that the zip WordPress downloads from wp.org isn’t expanding right. Could you try removing it, and then reinstalling from the backend?

    Don’t worry your settings won’t be lost.

    Thread Starter kleatus

    (@kleatus)

    This error only appears when upgrading so i am not sure what manually removing and reinstalling the plugin would do. Are you saying you think the install failed?

    Plugin Contributor Joost de Valk

    (@joostdevalk)

    > Are you saying you think the install failed?

    Yes. That’s what I’m thinking.

    If you’re both using InfiniteWP it might even have to do with how InfiniteWP deals with this.

    Plugin Contributor Joost de Valk

    (@joostdevalk)

    What we can see is that InfiniteWP seems to use FTP to update the plugin. This means that any object caches a host has would not be refreshed automatically, which is painful if you’re installing a new auto loader in a plugin like we’re doing in this release…

    Thread Starter kleatus

    (@kleatus)

    I just upgraded one of these sites outside of InfiniteWp and got the same message. These are hosted on a variety of servers but all hosted at rackspace on dedicated machines. No “bad hosting issues”.

    • This reply was modified 4 years, 7 months ago by kleatus.
    Plugin Contributor Joost de Valk

    (@joostdevalk)

    I’m stumped, honestly. Can I ask where these sites are hosted?

    Plugin Contributor Joost de Valk

    (@joostdevalk)

    Ah you just answered that, thanks.

    It’s happened to a bunch of my sites over the past 3 days – some of them are sendng repeated emails about it.

    Here is an example error message, in case it’s helpful:

    An error of type E_ERROR was caused in line 72 of the file /home/artistworkspace/public_html/wp-content/plugins/wordpress-seo/migrations/20180515101200_WpYoastIndexableMeta.php. Error message: Uncaught Error: Class ‘Yoast\WP\Free\Yoast_Model’ not found in /home/artistworkspace/public_html/wp-content/plugins/wordpress-seo/migrations/20180515101200_WpYoastIndexableMeta.php:72
    Stack trace:
    #0 /home/artistworkspace/public_html/wp-content/plugins/wordpress-seo/migrations/20180515101200_WpYoastIndexableMeta.php(20): WpYoastIndexableMeta->get_table_name()
    #1 /home/artistworkspace/public_html/wp-content/plugins/wordpress-seo/vendor_prefixed/ruckusing/lib/Task/Db/Migrate.php(223): WpYoastIndexableMeta->up()
    #2 /home/artistworkspace/public_html/wp-content/plugins/wordpress-seo/vendor_prefixed/ruckusing/lib/Task/Db/Migrate.php(196): YoastSEO_Vendor\Task_Db_Migrate->run_migrations(Array, ‘up’, NULL)
    #3 /home/artistworkspace/public_html/wp-content/plugins/wordpress-seo/vendor_prefixed/ruckusing/lib/Task/Db/Migrate.php(114): YoastSEO_Vendor\Task_Db_Migrate->prepare_to_migrate(NULL, ‘up’)
    #4 /home/artistworkspace/public_html/wp-content/plugins/wordpress-seo/vendor_prefixed/ruckusing/lib/Ruckusing/Task/Manager.php

    Thread Starter kleatus

    (@kleatus)

    I updated these same sites yesterday to 14.0 and then updated again to 14.0.1 with no issues doing the upgrades.

    From another site:

    Error Details
    =============
    An error of type E_ERROR was caused in line 72 of the file /home/blastser/public_html/shaperecording.com/wp-content/plugins/wordpress-seo/migrations/20180515101200_WpYoastIndexableMeta.php. Error message: Uncaught Error: Class ‘Yoast\WP\Free\Yoast_Model’ not found in /home/blastser/public_html/shaperecording.com/wp-content/plugins/wordpress-seo/migrations/20180515101200_WpYoastIndexableMeta.php:72
    Stack trace:
    #0 /home/blastser/public_html/shaperecording.com/wp-content/plugins/wordpress-seo/migrations/20180515101200_WpYoastIndexableMeta.php(20): WpYoastIndexableMeta->get_table_name()
    #1 /home/blastser/public_html/shaperecording.com/wp-content/plugins/wordpress-seo/vendor_prefixed/ruckusing/lib/Task/Db/Migrate.php(223): WpYoastIndexableMeta->up()
    #2 /home/blastser/public_html/shaperecording.com/wp-content/plugins/wordpress-seo/vendor_prefixed/ruckusing/lib/Task/Db/Migrate.php(196): YoastSEO_Vendor\Task_Db_Migrate->run_migrations(Array, ‘up’, NULL)
    #3 /home/blastser/public_html/shaperecording.com/wp-content/plugins/wordpress-seo/vendor_prefixed/ruckusing/lib/Task/Db/Migrate.php(114): YoastSEO_Vendor\Task_Db_Migrate->prepare_to_migrate(NULL, ‘up’)
    #4 /home/blastser/public_html/shaperecording.com/wp-content/plugin

    Thread Starter kleatus

    (@kleatus)

    those are not the same errors i am seeing

    Plugin Contributor Joost de Valk

    (@joostdevalk)

    Hmm just wondering @iamediaworks : when you update, do you delete the folder and put it back in? The file mentioned in your error doesn’t actually exist in the plugin anymore… You can see for yourself here: https://svn.wp-plugins.org/wordpress-seo/tags/14.0.2/migrations/

    You mention 20180515101200_WpYoastIndexableMeta.php and it simply isn’t there. So I’m wondering how that file can exist after an update.

    Nope – I only ran the update from the WP dash.

    And I just checked – and the file IS there – updated at 6:51 this morning.

Viewing 15 replies - 1 through 15 (of 33 total)
  • The topic ‘Error on upgrade to 14.0.2’ is closed to new replies.