Archived topic
Top navigation not displaying correctly after Wordpress update
4 replies · Started by Dom on August 31, 2022
Hi, I can confirm I am on the latest versions. I specifically updated my licenses today to fix the issues.
If you visit https://jamyangleeds.co.uk/ you can see the top left the navigation is broken and is displaying the mobile menu after updating to Wordpress 6.0.2.
I updated all your plugins.
Generatepress Theme 3.1.3
GenerateBlocks: 1.5.4
GenerateBlocks Pro: 1.3.0
GP Premium: 2.1.2
Wordpress sent me the following error found in your generate press code. Can you help? Many thanks in advance.
Hi!
Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.
In this case, WordPress caught an error with your theme, GeneratePress.
First, visit your website (https://jamyangleeds.co.uk/) and check for any visible issues. Next, visit the page where the error was caught (https://jamyangleeds.co.uk/wp-admin/customize.php?autofocus%5Bpanel%5D=nav_menus&return=%2Fwp-admin%2Fnav-menus.php) and check for any visible issues.
Please contact your host for assistance with investigating this issue further.
If your site appears broken and you can't access your dashboard normally, WordPress now has a special "recovery mode". This lets you safely login to your dashboard and investigate further.
To keep your site safe, this link will expire in 1 day. Don't worry about that, though: a new link will be emailed to you if the error occurs again after it expires.
When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.0.2
Active theme: GeneratePress (version 3.1.3)
Current plugin: (version )
PHP version 7.4.24
Error Details
=============
An error of type E_ERROR was caused in line 316 of the file /var/www/jamyangleeds.co.uk/wp-content/themes/generatepress/inc/customizer/helpers.php. Error message: Uncaught Error: Class 'GeneratePress_Typography_Migration' not found in /var/www/jamyangleeds.co.uk/wp-content/themes/generatepress/inc/customizer/helpers.php:316
Stack trace:
#0 /var/www/jamyangleeds.co.uk/wp-includes/class-wp-hook.php(307): generate_do_control_inline_scripts()
#1 /var/www/jamyangleeds.co.uk/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#2 /var/www/jamyangleeds.co.uk/wp-includes/plugin.php(476): WP_Hook->do_action()
#3 /var/www/jamyangleeds.co.uk/wp-admin/customize.php(123): do_action()
#4 {main}
thrown
Hi there,
can you see Tom's reply here:
https://generatepress.com/forums/topic/website-crashed-any-idea-what-happened/#post-2032070
Can you check those two theme files ?
Hi David,
It turns out I have class-typography-migration.php file but it is not included in the functions.php file. Should I add this line in? Why would this have not been included in the update?
Many thanks
Hi, after some investigation it turns out that I had uploaded an older version of functions.php (3.0.4) from my local dev because I recently added some new shortcodes for my client. I hadn't realised production was now at 3.1.0 and my local dev theme was out of date with prod. Thanks for the help with this!
Glad you got it sorted! :)