• Resolved philapho

    (@philapho)


    Hello 
    for some time I have this error message with wp optimize, while I have not changed my php version which is 7.4
    I have two other sites on the same hosting without any problems while they are in version php 8
    
    In advance, thank you for your help
    Philippe

    Warning: Declaration of WP_Optimize_Notices::url_start($html_allowed, $url, $https = false, $website_home = ‘updraftplu…’) should be compatible with Updraft_Notices_1_0::url_start($html_allowed = false, $url = ”, $https = false, $website_home = NULL) in /home/clients/f4c35b11ffd4a8673735de9d82186922/web/wp-content/plugins/wp-optimize/includes/wp-optimize-notices.php on line 303

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support Harshad

    (@bornforphp)

    @philapho Are you running UpdraftPlus on this site? If yes make sure you are using the latest version?

    Thread Starter philapho

    (@philapho)

    But of course
    it’s a matter of course that I use the latest version on all my sites and those of my clients ….

    Plugin Support Harshad

    (@bornforphp)

    @philapho

    Could you please edit wp-config.php file and

    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 the warnings go away?

    Thread Starter philapho

    (@philapho)

    Hello
    it’s ok
    Thanks a lot
    Have a nice day

    Thread Starter philapho

    (@philapho)

    On the other hand
    when I try to use php 8
    I get this error message

    Une erreur de type E_COMPILE_ERROR a été causée dans la ligne 303 du fichier /home/clients/f4c35b11ffd4a8673735de9d82186922/web/wp-content/plugins/wp-optimize/includes/wp-optimize-notices.php. Message d’erreur : Declaration of WP_Optimize_Notices::url_start($html_allowed, $url, $https = false, $website_home = ‘updraftplu…’) must be compatible with Updraft_Notices_1_0::url_start($html_allowed = false, $url = ”, $https = false, $website_home = null)

    Plugin Support Harshad

    (@bornforphp)

    @philapho Where do you get this error? is it displayed in WordPress admin dashboard or PHP error log?

    Thread Starter philapho

    (@philapho)

    Hello
    I have this error when I click wp-optimize to access the database.
    Otherwise no other problem on the site which in php 8.07
    good day
    Philippe

    Plugin Support Harshad

    (@bornforphp)

    @philapho It looks like there’s compatibility issue with PHP 8, I’ll share this with our development team, so that it can be fixed in future release.

    Thread Starter philapho

    (@philapho)

    Thank you for your feedback
    I will keep you informed after the update
    good evening

    Plugin Support Harshad

    (@bornforphp)

    @philapho Sure thing!

    Have a nice day!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘error php’ is closed to new replies.