Home Forums WoodMart support forum Critical error: Array sizes are inconsistent with a PHP function array_multisort

Critical error: Array sizes are inconsistent with a PHP function array_multisort

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #689530

    hosting-1475
    Participant

    Over the past few days, I’ve been encountering a critical error frequently when navigating the WP administration.
    To resolve this, I have to completely deactivate the plugins folder via FTP, renaming it “plugins.hold.”
    Then I log in to WordPress, change the “Woodmart child” startup theme to the official WP theme “Twenty Twenty-Five.”
    I then reactivate all the plugins and switch to the “Woodmart Child” theme, so everything goes back to normal. I’ll also add that I’ve now updated Woodmart to version 8.3.

    Please help me figure out how to permanently resolve this issue. Is it perhaps a problem with PHP 8.4.13?
    Thanks in advance for your response,
    Best regards,
    Marco

    Here is the technical information for the last time the critical error occurred:

    If you are seeking help with this issue, you may be asked for some of the following information:
    WordPress version 6.8.3
    Active theme: Woodmart Child (version 1.0.0)
    Current plugin: (version )
    PHP version 8.4.13

    Error details
    =========================
    An E_ERROR error was generated on line 419 of the file /var/www/vhosts/synergin.it/httpdocs/wp-content/themes/woodmart/inc/integrations/tgm-plugin-activation.php. Error message: Uncaught ValueError: Array sizes are inconsistent in /var/www/vhosts/synergin.it/httpdocs/wp-content/themes/woodmart/inc/integrations/tgm-plugin-activation.php:419
    Stack traces:
    #0 /var/www/vhosts/synergin.it/httpdocs/wp-content/themes/woodmart/inc/integrations/tgm-plugin-activation.php(419): array_multisort()
    #1 /var/www/vhosts/synergin.it/httpdocs/wp-includes/class-wp-hook.php(324): TGM_Plugin_Activation->init()
    #2 /var/www/vhosts/synergin.it/httpdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #3 /var/www/vhosts/synergin.it/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action()
    #4 /var/www/vhosts/synergin.it/httpdocs/wp-settings.php(727): do_action()
    #5 /var/www/vhosts/synergin.it/httpdocs/wp-config.php(93): require_once(‘…’)
    #6 /var/www/vhosts/synergin.it/httpdocs/wp-load.php(50): require_once(‘…’)
    #7 /var/www/vhosts/synergin.it/httpdocs/wp-admin/admin.php(35): require_once(‘…’)
    #8 {main}
    thrown

    #689568

    Artem Temos
    Keymaster

    Hello,

    We have fixed this issue. Please update the theme to the latest version 8.3.1 via your dashboard and check how it works.

    Kind Regards

    #689577

    hosting-1475
    Participant

    Version 8.3.1 is not available yet, how do I update Woodmart?

    Kind Regards

    #689612

    Artem Temos
    Keymaster

    You can go to Dashboard -> Updates and click on the “Check again” button. Then you will be able to see the latest version available.

Viewing 4 posts - 1 through 4 (of 4 total)