My Site broke, so I updated the Rankmath plugin, now I get 404s on main pages

#161224
  • Resolved Alex Man
    Rank Math free

    Hi my website completely broke so I updated Rankmath.
    Now it’s back but none of my links are working, 404 everywhere.
    Can anyone help please?

    An error of type E_ERROR was caused in line 71 of the file /storage/websites/mysite.co.uk/public_html/wp-content/plugins/seo-by-rank-math/vendor/mythemeshop/wordpress-helpers/src/helpers/class-param.php. Error message: Uncaught TypeError: filter_var(): Argument #3 ($options) must be of type array|int, string given in /storage/websites/mysite.co.uk/public_html/wp-content/plugins/seo-by-rank-math/vendor/mythemeshop/wordpress-helpers/src/helpers/class-param.php:71
    Stack trace:
    #0 /storage/websites/mysit.co.uk/public_html/wp-content/plugins/seo-by-rank-math/vendor/mythemeshop/wordpress-helpers/src/helpers/class-param.php(71): filter_var()
    #1 /storage/websites/mysite.co.uk/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/class-admin.php(292): MyThemeShop\Helpers\Param::server()
    #2 /storage/websites/mysite.co.uk/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/class-admin.php(65): RankMath\Sitemap\Admin->get_nginx_notice()
    #3 /storage/websites/mysite.co.uk/public_html/wp-includes/class-wp-hook.php(288): RankMath\Sitemap\Admin->register_setting_page()
    #4 /storage/websites/romforddragon.co.uk/public_html/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters()

Viewing 1 replies (of 1 total)
  • Hello,

    Thanks for contacting us and sorry for any inconvenience that might have been caused due to that.

    For the 404 errors, please try flushing your permalinks:

    WP Dashboard >> Settings >> Permalinks

    Select the ‘Plain’ radio button once and then click on the ‘Save Changes’ button.
    > Check the front page and other pages if they are working. If a permalink issue is there, pages/posts should work.
    > Again go to permalink settings and select the ‘Post name’ option and click on ‘Save Changes’.

    If this doesn’t work then we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 1 replies (of 1 total)

The ticket ‘My Site broke, so I updated the Rankmath plugin, now I get 404s on main pages’ is closed to new replies.