• Resolved rgiacobone

    (@rgiacobone)


    Hi,

    I’m getting a warning on cron execution on the latest version (3.2.1) using WP 5.8.4 and PHP 7.4.21 :
    PHP Warning: array_merge(): Expected parameter 2 to be an array, bool given in /srv/www/sites/wordpress/releases/3238087-preprod/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-main.php on line 903

    Quickly fixed adding this :
    $list_files = !list_files($path, $folders_level) ? array() : list_files( $path, $folders_level );
    $files = array_merge( $files, $list_files );

    instead of line 903 where the array_merge is called

    Regards

    • This topic was modified 2 years, 1 month ago by rgiacobone.
    • This topic was modified 2 years, 1 month ago by rgiacobone.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘mauwoo_check_licence_daily cron warning’ is closed to new replies.