• Resolved mostman

    (@mostman)


    With NextGEN Gallery enabled I get this error message when I press “Posts”, “All posts”, “Pages”, “All Pages”. “Add new” under both Posts and Pages works fine.
    The gallery and all other functions works fine. All other add-ons are disabled. WP 6.0.2. PHP 8.1. NextGEN 3.29.

    TypeError thrown
    array_filter(): Argument #1 ($array) must be of type array, bool given

    In debug.log I can find these lines which seems to relate to NextGEN…

    [28-Sep-2022 18:57:40 UTC] Type: ErrorException; Message: set_time_limit(): Cannot set max execution time limit due to system policy; File: /customers/e/b/c/mypage.se/httpd.www/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/dynamic_thumbnails/package.module.dynamic_thumbnails.php; Line: 30;
    [28-Sep-2022 18:57:40 UTC] PHP Notice: Type: ErrorException; Message: Implicit conversion from float 70.95 to int loses precision; File: /customers/e/b/c/mypage.se/httpd.www/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_data/package.module.nextgen_data.php; Line: 5436; in /customers/e/b/c/mypage.se/httpd.www/wp-content/plugins/slideshow-gallery/includes/errorhandler.php on line 54
    [28-Sep-2022 18:57:40 UTC] Type: ErrorException; Message: Implicit conversion from float 70.95 to int loses precision; File: /customers/e/b/c/mypage.se/httpd.www/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_data/package.module.nextgen_data.php; Line: 5436;

    I can’t find any rows in debug.log which seems to refer to edit.php.
    Any ideas how troubleshoot this?

    regards M

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Imagely

    (@imagely)

    @mostman,

    None of these are functionally affecting and in fact they shouldn’t display unless you have PHP Strict Standards enabled on your server because we purposefully suppress the errors for this function return within the code.

    Feel free to simply deactivate WP Debug mode by replacing the following line from your wp-config.php file:

    define('WP_DEBUG', true);

    with:

    ini_set('display_errors','Off');
    ini_set('error_reporting', E_ALL );
    define('WP_DEBUG', false);
    define('WP_DEBUG_DISPLAY', false);
    • This reply was modified 2 years, 6 months ago by Imagely.
    Thread Starter mostman

    (@mostman)

    If I understand this correctly, this will only turn off debug and maybe suppress error messages, not help me finding out why I can’t open Posts menu, right?

    To clarify, this happens when I try open “Posts”, “All posts”, “Pages”, “All Pages” under the admin menu when NextGEN Gallery is enabled.
    https://ibb.co/fkMtN2h

    Plugin Contributor Imagely

    (@imagely)

    @mostman,

    You can reach our support team at https://www.imagely.com/contact/ and we’ll have a direct look at it.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘array_filter error in edit.php with NextGEN’ is closed to new replies.