Jetpack error 500 caused by theme - by fredwerk

This topic has 4 replies, 2 voices, and was last updated 7 years ago ago by Jack Richardson

  • Avatar: fredwerk
    fredwerk
    Participant
    April 3, 2017 at 19:36

    Hi,

    I am using latest version of Legenda on latest WordPress and using latest Jetpack plugin.

    When connecting Jetpack to WordPress.com in order to auto updates the plugins, it returns a 500 error. This has been investigated by the plugin developers and by the server guys.

    The server guys returned this log and said the problems is with the theme:

    I’m pretty sure the error with Jetpack connecting is being caused by an error in the theme itself. The WordPress debug.log file records the following when the Plugins page is requested from WordPress.org:-

    [03-Apr-2017 18:24:54 UTC] PHP Fatal error: Uncaught Error: Call to undefined function ot_register_meta_box() in /var/sites/i/i2cascot.com/public_html/wp-content/themes/legenda/framework/theme-options.php:2186
    Stack trace:
    #0 /var/sites/i/i2cascot.com/public_html/wp-includes/class-wp-hook.php(298): page_meta_boxes(”)
    #1 /var/sites/i/i2cascot.com/public_html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array)
    #2 /var/sites/i/i2cascot.com/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    #3 /var/sites/i/i2cascot.com/public_html/wp-content/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-plugins-endpoint.php(137): do_action(‘admin_init’)
    #4 /var/sites/i/i2cascot.com/public_html/wp-content/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-plugins-endpoint.php(37): Jetpack_JSON_API_Plugins_Endpoint->get_plugins()
    #5 /var/sites/i/i2cascot.com/public_html/wp-content/plugins/jetpack/json-endpoints/jetpack/class.jetpack-json-api-endpoint.php(30): Jetpack_JSON_API_Plugins_Endpoint->result()
    #6 /var/s in /var/sites/i/i2cascot.com/public_html/wp-content/themes/legenda/framework/theme-options.php on line 2186

    This would generate a 500 error and cause Jetpack to error.

    Could you fix that?

    3 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    April 4, 2017 at 11:00

    Hello,

    Unfortunately we don’t guarantee for full theme compatibility with all 3-rd party plugins and Jetpack as well. Perhaps it will be fixed in one of the future theme updates.

    Regards,
    Jack Richardson.

    Avatar: fredwerk
    fredwerk
    Participant
    April 4, 2017 at 16:12

    Hi Jack,

    Thanks for your reply.

    I understand this is something you cannot guarantee, but Jetpack is a major plugin used in most WP setup, and it is developed by same guys at WordPress. I see it as a major and much needed extension of WP and I think one day they will built it in WP.

    I love Legenda and would need Jetpack to work.

    The server guys suggested to make a clean install of Legenda and reinstall it. How could I do that?

    Thanks,

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    April 6, 2017 at 15:22

    Hello,

    Here you can check the theme documentation regarding the installation process https://www.8theme.com/demo/docs/legenda/#!/installation_upgrade

    Don’t forget to create full site backup including database before you start re-installation.

    Regards,
    Jack Richardson.

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.