[Resolved] Top navigation not displaying correctly after WordPress update

Home Forums Support [Resolved] Top navigation not displaying correctly after WordPress update

Home Forums Support Top navigation not displaying correctly after WordPress update

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #2329304
    Dom

    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.

    https://jamyangleeds.co.uk/wp-login.php?action=enter_recovery_mode&rm_token=zsNz4AVFOERxMPQBU2Hvc3&rm_key=kpyTGUoRz5HnJTQ2blG0Wg

    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

    #2329326
    David
    Staff
    Customer Support
    #2329669
    Dom

    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

    #2329935
    Dom

    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!

    #2329986
    Tom
    Lead Developer
    Lead Developer

    Glad you got it sorted! 🙂

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.