The log entry you’ve added seems to be a warning, rather than an error. If your site is crashing, I would anticipate that it would have additional errors that are not warnings; can you check and see if it does?
To be more specific, that log message appears to be related to functionality that was deprecated in a prior version of PHP. The current version of the plugin doesn’t have that code, maybe because of that PHP change, but it does not appear that having it would cause actual errors, just the warning. Certainly it is not related to the upgrade process since that is part of version 1.9.3 of the plugin and not 2.1.2.
You might also try downloading the plugin and installing it manually, as this might let you get around whatever is causing the automatic process to fail if you aren’t able to get more specific information about it. You can download a zip file of the plugin from the WordPress directory and upload it via FTP. I think I’d recommend that you do this on a staging server, if you have one. I’d definitely recommend a site and database backup, if you do not have a staging server.
Thank you. I’ll try manually updating the plugin. Here is an additional error.
An error of type E_ERROR was caused in line 172 of the file /www/abcde/public/wp-content/plugins/object-sync-for-salesforce/vendor/prospress/action-scheduler/classes/ActionScheduler_Store.php. Error message: Uncaught Error: Class 'ActionScheduler_TimezoneHelper' not found in /www/abcde/public/wp-content/plugins/object-sync-for-salesforce/vendor/prospress/action-scheduler/classes/ActionScheduler_Store.php:172
Stack trace:
#0 /www/abcde/public/wp-content/plugins/object-sync-for-salesforce/vendor/prospress/action-scheduler/classes/ActionScheduler_wpPostStore.php(44): ActionScheduler_Store->get_scheduled_date_string_local(Object(ActionScheduler_Action), NULL)
#1 /www/abcde/public/wp-content/plugins/object-sync-for-salesforce/vendor/prospress/action-scheduler/classes/ActionScheduler_wpPostStore.php(20): ActionScheduler_wpPostStore->create_post_array(Object(ActionScheduler_Action), NULL)
#2 /www/abcde/public/wp-content/plugins/object-sync-for-salesforce/vendor/prospress/action-scheduler/classes/ActionScheduler_ActionFactory.php(109): ActionScheduler_wpPostStore->save_action(Object(ActionScheduler_Action))
#3 /www/abcde/public/wp-content/plugins/object-sync-for-salesforce/vendor/prospress/a
That looks more troubling. It appears to be related to Action Scheduler, which is a third party library we use to schedule plugin tasks. One of the biggest back end changes between 1.9.3 and 2.1.2 was a major upgrade of Action Scheduler, so I do wonder if that upgrade process is failing (for whatever reason) and that is preventing the plugin from upgrading.
I think I would still recommend manually updating the plugin, but would even more recommend either trying on a staging server and/or running file and database backups first.
My hope is that after a manual upload the plugin will be able to complete all of the migration tasks that it needs to run, but I’ve never seen this error myself, so I can’t be sure. One other person had this issue in this forum post, but never responded as to whether it resolved itself with a manual upload.
Thank you, Jonathan. I appreciate the quick response. I’ll try manually updating the plugin. I need to reschedule time to do this with my client, so it may be a week or 2 before I respond. Thanks!