mastodon_wordpress_autopost icon indicating copy to clipboard operation
mastodon_wordpress_autopost copied to clipboard

Fatal error on Site

Open lowpeter opened this issue 1 year ago • 0 comments

Hi, Thankyou for the plugin. This was working great for some time. I may have deleted something in the database and now when the plugin is activated I get a fatal error on the website. Any help that can be offered to get the plugin working again would be most appreciated. I think that if I can remove anything related to the plugin I may be able to start from scratch and all will be OK.

Is it possible to advise how I can remove all traces of the plugin and start again? This is the error:

This plugin failed to load properly and is paused during recovery mode.

An error of type E_ERROR was caused in line 476 of the file [redacted]/wp-content/plugins/autopost-to-mastodon/mastodon_autopost.php. Error message: Uncaught TypeError: unserialize(): Argument #1 ($data) must be of type string, array given in [redacted]/wp-content/plugins/autopost-to-mastodon/mastodon_autopost.php:476 Stack trace: #0 [redacted]/wp-content/plugins/autopost-to-mastodon/mastodon_autopost.php(476): unserialize(Array) #1 [redacted]/wp-includes/class-wp-hook.php(324): autopostToMastodon->admin_notices('') #2 [redacted]/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #3 [redacted]/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #4 [redacted]/wp-admin/admin-header.php(303): do_action('admin_notices') #5 [redacted]/wp-admin/index.php(137): require_once('[redacted]') #6 {main} thrown

Hope someone may be able to suggest how to fix this. I do not think it is a problem with the plugin. I think the error is something stupid I have done to break it.

Many thanks.

lowpeter avatar Dec 18 '23 21:12 lowpeter