404 and "Too many redirects" error after Migration

Support MB Toolset Migration 404 and "Too many redirects" error after Migration

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #48117
    KhairulKhairul
    Participant

    Hi,
    I'm having some trouble after successfully migrated to MB from Toolset.

    I've checked the backend, all data are successfully migrated, including relationships and repeated fields. However, there's:
    1. Permalink settings page critical error message.
    2. Error accessing all CPT frontends, some leads to 404 while others give too many redirects error.

    WordPress, Toolset (types and blocks) and MB AOI are the latest version before migrating.

    Please advise, Thank you.

    #48123
    PeterPeter
    Moderator

    Hello Khairul,

    Thanks for reaching out.

    Please enable WP debug and visit the Permalink settings page to see the critical error message again, then check the error log and share it with me. It will have some useful information about what happens on your site.
    Refer to the WordPress documentation https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/

    #48124
    KhairulKhairul
    Participant

    Hi Peter,
    Thank you for the reply.

    Here are the error messages:

    Warning: Undefined array key "id" in /var/www/domain.com/htdocs/wp-content/plugins/meta-box-aio/vendor/meta-box/meta-box-builder/src/Register.php on line 29 (Multiple Lines)

    Warning: Cannot modify header information - headers already sent by (output started at /var/www/domain.com/htdocs/wp-content/plugins/meta-box-aio/vendor/meta-box/meta-box-builder/src/Register.php:29) in /var/www/domain.com/htdocs/wp-includes/functions.php on line 7168

    Warning: Cannot modify header information - headers already sent by (output started at /var/www/domain.com/htdocs/wp-content/plugins/meta-box-aio/vendor/meta-box/meta-box-builder/src/Register.php:29) in /var/www/domain.com/htdocs/wp-includes/functions.php on line 7144

    Fatal error: Uncaught TypeError: Unsupported operand types: string & int in /var/www/domain.com/htdocs/wp-includes/class-wp-rewrite.php:1036 Stack trace: #0 /var/www/domain.com/htdocs/wp-includes/class-wp-rewrite.php(1413): WP_Rewrite->generate_rewrite_rules() #1 /var/www/domain.com/htdocs/wp-includes/class-wp-rewrite.php(1513): WP_Rewrite->rewrite_rules() #2 /var/www/domain.com/htdocs/wp-includes/class-wp-rewrite.php(1888): WP_Rewrite->refresh_rewrite_rules() #3 /var/www/domain.com/htdocs/wp-includes/rewrite.php(282): WP_Rewrite->flush_rules() #4 /var/www/domain.com/htdocs/wp-admin/options-permalink.php(212): flush_rewrite_rules() #5 {main} thrown in /var/www/domain.com/htdocs/wp-includes/class-wp-rewrite.php on line 1036

    #48126
    PeterPeter
    Moderator

    Hello,

    It looks like the issue in this topic https://support.metabox.io/topic/fatal-error-uncaught-typeerror-unsupported-operand-types-string-int/#post-45145

    Please follow the workaround in the topic to delete the CPT and recreate it with the same settings and let me know if it helps.

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