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
#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.
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?