• Resolved estudi33

    (@estudi33)


    Hi,

    When activated minimizing an error occurs in some of the pages of the web.

    When minimization is active, the following errors appear at the bottom of some of the pages:

    Warning: strpos() expects parameter 1 to be string, array given in /home/formatgeria-de-llivia/public_html/wp-content/plugins/wp-optimize/minify/class-wp-optimize-minify-fonts.php on line 203

    Notice: Array to string conversion in /home/formatgeria-de-llivia/public_html/wp-content/plugins/wp-optimize/minify/class-wp-optimize-minify-fonts.php on line 206

    Disabling minimization makes errors disappear.
    How can we fix this?

    Thanks for your help!

    Regards,
    Vanessa

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • @estudi33 In wp-config.php file Can you please try to

    Replace

    define('WP_DEBUG', false);

    with this:

    ini_set('log_errors','On');
    
    ini_set('display_errors','Off');
    
    ini_set('error_reporting', E_ALL );
    
    define('WP_DEBUG', false);
    
    define('WP_DEBUG_LOG', true);
    
    define('WP_DEBUG_DISPLAY', false);

    and check if it helps to fix the issue?

    Thread Starter estudi33

    (@estudi33)

    Hi,

    Issue solved!

    Thank you very much for your help!!!

    Best regards,
    Vanessa

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Activating minimization causes an error’ is closed to new replies.