• Resolved Firman

    (@jfireman)


    Recently, jetpack caused a fatal error in my site admin page. Manually disabling jetpack makes my admin page normal again.

    Bellow is the error message. Is there any solution for this?

    Fatal error: Uncaught Error: Cannot unset string offsets in /srv/users/serverpilot/apps/teknojurnal/public/wp-content/plugins/accelerated-mobile-pages/accelerated-moblie-pages.php:487 Stack trace: #0 /srv/users/serverpilot/apps/teknojurnal/public/wp-includes/class-wp-hook.php(300): ampforwp_modify_amp_activatation_link(”, ‘amp/amp.php’) #1 /srv/users/serverpilot/apps/teknojurnal/public/wp-includes/plugin.php(203): WP_Hook->apply_filters(”, Array) #2 /srv/users/serverpilot/apps/teknojurnal/public/wp-content/plugins/jetpack/sync/class.jetpack-sync-module-callables.php(141): apply_filters(‘plugin_action_l…’, Array, ‘amp/amp.php’, NULL, ‘all’) #3 /srv/users/serverpilot/apps/teknojurnal/public/wp-includes/class-wp-hook.php(298): Jetpack_Sync_Module_Callables->set_plugin_action_links(”) #4 /srv/users/serverpilot/apps/teknojurnal/public/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) #5 /srv/users/serverpilot/apps/teknojurnal/public/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #6 /srv/users in /srv/users/serverpilot/apps/teknojurnal/public/wp-content/plugins/accelerated-mobile-pages/accelerated-moblie-pages.php on line 487

Viewing 14 replies - 1 through 14 (of 14 total)
  • allthebugsandmore

    (@allthebugsandmore)

    Same with me!
    Recent update of Jetpack makes backend unusable. Manually removing Jetpack restores functionality. Frontend operation seems to be just fine though.

    This is what happens in the backend after activation of the plugin:

    Warning: array_unshift() expects parameter 1 to be array, string given in /www/htdocs/xxxxxxxx/DOMAINS/yyyyyy/wp-content/plugins/aryo-activity-log/classes/class-aal-settings.php on line 27

    Warning: array_unshift() expects parameter 1 to be array, string given in /www/htdocs/xxxxxxxx/DOMAINS/yyyyyy/wp-content/plugins/aryo-activity-log/classes/class-aal-settings.php on line 30

    Warning: array_unshift() expects parameter 1 to be array, string given in /www/htdocs/xxxxxxxx/DOMAINS/yyyyyy/wp-content/plugins/contact-form-7/admin/admin.php on line 547

    Warning: array_unshift() expects parameter 1 to be array, string given in /www/htdocs/xxxxxxxx/DOMAINS/yyyyyy/wp-content/plugins/duplicate-post/duplicate-post.php on line 49

    Warning: array_unshift() expects parameter 1 to be array, string given in /www/htdocs/xxxxxxxx/DOMAINS/yyyyyy/wp-content/plugins/global-content-blocks/global-content-blocks.php on line 280

    Warning: array_merge(): Argument #2 is not an array in /www/htdocs/xxxxxxxx/DOMAINS/yyyyyy/wp-content/plugins/glossary-by-codeat/admin/class-glossary-admin.php on line 173

    Warning: array_unshift() expects parameter 1 to be array, string given in /www/htdocs/xxxxxxxx/DOMAINS/yyyyyy/wp-content/plugins/hyphenator/plugin.php on line 66

    Warning: array_merge(): Argument #2 is not an array in /www/htdocs/xxxxxxxx/DOMAINS/yyyyyy/wp-content/plugins/image-regenerate-select-crop/image-regenerate-select-crop.php on line 1743

    Warning: array_merge(): Argument #4 is not an array in /www/htdocs/xxxxxxxx/DOMAINS/yyyyyy/wp-content/plugins/jetpack/class.jetpack.php on line 3721

    Warning: array_unshift() expects parameter 1 to be array, string given in /www/htdocs/xxxxxxxx/DOMAINS/yyyyyy/wp-content/plugins/manual-image-crop/manual-image-crop.php on line 69

    Warning: array_merge(): Argument #2 is not an array in /www/htdocs/xxxxxxxx/DOMAINS/yyyyyy/wp-content/plugins/mark-posts/admin/class-mark-posts-admin.php on line 257

    Fatal error: Uncaught Error: Cannot unset string offsets in /www/htdocs/xxxxxxxx/DOMAINS/yyyyyy/wp-content/plugins/siteorigin-panels/inc/admin.php:118 Stack trace: #0 /www/htdocs/xxxxxxxx/DOMAINS/yyyyyy/wp-includes/class-wp-hook.php(300): SiteOrigin_Panels_Admin->plugin_action_links(”) #1 /www/htdocs/xxxxxxxx/DOMAINS/yyyyyy/wp-includes/plugin.php(203): WP_Hook->apply_filters(”, Array) #2 /www/htdocs/xxxxxxxx/DOMAINS/yyyyyy/wp-content/plugins/jetpack/sync/class.jetpack-sync-module-callables.php(143): apply_filters(‘plugin_action_l…’, ”, ‘siteorigin-pane…’, NULL, ‘all’) #3 /www/htdocs/xxxxxxxx/DOMAINS/yyyyyy/wp-includes/class-wp-hook.php(298): Jetpack_Sync_Module_Callables->set_plugin_action_links(”) #4 /www/htdocs/xxxxxxxx/DOMAINS/yyyyyy/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) #5 /www/htdocs/xxxxxxxx/DOMAINS/yyyyyy/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #6 /www/htdocs/xxxxxxxx/DOMAINS/yyyyyy/wp-admin/admin.php(154): do_action(‘admin_init’) #7 /www/htdocs/w00d9 in /www/htdocs/xxxxxxxx/DOMAINS/yyyyyy/wp-content/plugins/siteorigin-panels/inc/admin.php on line 118

    santiazpi2

    (@santiazpi2)

    Same issue here, a bunch of plugins cause warnings or fatal errors, all errors seems to track to plugin_action_links filter.

    Reverting to version 5.4 fixes the issue… Please someone post here when fixed!

    allthebugsandmore

    (@allthebugsandmore)

    My temporary solution:

    1. manually remove Jetpack
    2. install Jetpack again without activation
    3. install Rollback
    4. use Rollback to reset Jetpack to 5.4.
    Plugin Contributor Richard Archambault

    (@richardmtl)

    Thanks for the report, folks! I’ve opened an issue here:

    https://github.com/Automattic/jetpack/issues/8164

    I’ll update you when it’s fixed!

    Plugin Contributor Enej Bajgori?

    (@enej)

    @jfireman I am trying to debug this issue. Can you tell me more about the list of plugins that are currently in installed on your site. Also can you tell me what version of PHP are you currently running.

    I am having a hard time replicationg this issue. ??

    Best Enej

    Thread Starter Firman

    (@jfireman)

    Thread Starter Firman

    (@jfireman)

    Oops sorry forgot to mention PHP version, here it is: 7.0.25

    Plugin Contributor Richard Archambault

    (@richardmtl)

    Thanks for that info, @jfireman!

    @santiazpi2 and @allthebugsandmore could you share the same information with us, so we can try to track down the commonality?

    allthebugsandmore

    (@allthebugsandmore)

    Hi there,

    WP EDITOR seems to be our candidate
    (Plugin list: https://t1p.de/z22a)

    How i came to that:

    1. moved all plugin folders except for Jetpack 5.4 from wp-content/plugins into the new temporary folder /wp-content/plugins-temp
    2. F5’ed the plugins page of WP and WP reports the missing pi’s
    3. another F5 and WP carries on just fine
    4. updated Jetpack 5.4 to 5.5
    5. moved all plugin folders back into wp-content/plugins
    6. activated one after the other while Jetpack is still up and running
    7. activating WP EDITOR triggered the error and backend crash reported earlier
    8. moving the WP EDITOR folder (/wp-editor) back to the temporary folder and F5’ing brought WordPress back to life again
    9. carried on activating the rest of the plugins and still everything keeps working just fine
    Thread Starter Firman

    (@jfireman)

    I can confirm what allthebugsandmore said, WP Editor seems to be the real culprit and somehow interfere jetpack. Plus that pluign hasn’t been updated in a year. I will mark this thread as solved then.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    We’ve made some changes to Jetpack to try to fix this issue. We haven’t released a new version of Jetpack yet, as we would like to test those changes first.

    Could you try to install Jetpack’s Beta plugin, switch to the Bleeding Edge option, and let us know if the problem disappears?

    Thanks!

    Plugin Contributor Richard Archambault

    (@richardmtl)

    Hi! I’d like to keep this as Unresolved for now until you can confirm that the latest Bleeding Edge option fixes the issue for you. Thanks!

    Thread Starter Firman

    (@jfireman)

    Tested it just now, Jetpack Beta + WP Editor plugin now works normally, admin page doesn’t throw fatal error.

    lamday

    (@lamdayap)

    Thanks for the update @jfireman – I’ll mark this as resolved. For all who experience a similar conflict between WP Editor and Jetpack, please try our beta plugin? You can find a download link and instructions here:

    https://jetpack.com/download-jetpack-beta/

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Jetpack causing error in admin page’ is closed to new replies.