Upgrade breaks menu admin?
-
After upgrading to the latest version I could not longer access the menu editor in the WordPress admin.
The page never fully loads and the JavaScript inspector shows “columns is not defined”.
This is due to a missing load-scripts.php I think, but that’s irrelevant. If you activate WP_DEBUG you will see a PHP error.
<b>Fatal error</b>: Cannot use object of type stdClass as array in <b>\httpdocs\wp-content\plugins\the-events-calendar\src\Tribe\Main.php</b> on line <b>1135</b>
I changed this line:
‘post_title’ => $post_type[‘args’]->labels->all_items,To this:
‘post_title’ => $post_type->labels->all_items,It seems to work, but I am not claiming this is a proper fix. It was just enough to get rid of the error and get the site running again.
- The topic ‘Upgrade breaks menu admin?’ is closed to new replies.