Title: error php
Last modified: July 13, 2021

---

# error php

 *  Resolved [Philippe Cadu](https://wordpress.org/support/users/philapho/)
 * (@philapho)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/error-php-23/)
 *     ```
       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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-php-23%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 10 replies - 1 through 10 (of 10 total)

 *  [Harshad](https://wordpress.org/support/users/bornforphp/)
 * (@bornforphp)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/error-php-23/#post-14658018)
 * [@philapho](https://wordpress.org/support/users/philapho/) Are you running UpdraftPlus
   on this site? If yes make sure you are using the latest version?
 *  Thread Starter [Philippe Cadu](https://wordpress.org/support/users/philapho/)
 * (@philapho)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/error-php-23/#post-14659018)
 * But of course
    it’s a matter of course that I use the latest version on all my
   sites and those of my clients ….
 *  [Harshad](https://wordpress.org/support/users/bornforphp/)
 * (@bornforphp)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/error-php-23/#post-14662535)
 * [@philapho](https://wordpress.org/support/users/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 [Philippe Cadu](https://wordpress.org/support/users/philapho/)
 * (@philapho)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/error-php-23/#post-14668797)
 * Hello
    it’s ok Thanks a lot Have a nice day
 *  Thread Starter [Philippe Cadu](https://wordpress.org/support/users/philapho/)
 * (@philapho)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/error-php-23/#post-14668850)
 * 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)
 *  [Harshad](https://wordpress.org/support/users/bornforphp/)
 * (@bornforphp)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/error-php-23/#post-14671532)
 * [@philapho](https://wordpress.org/support/users/philapho/) Where do you get this
   error? is it displayed in WordPress admin dashboard or PHP error log?
 *  Thread Starter [Philippe Cadu](https://wordpress.org/support/users/philapho/)
 * (@philapho)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/error-php-23/#post-14674866)
 * 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
 *  [Harshad](https://wordpress.org/support/users/bornforphp/)
 * (@bornforphp)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/error-php-23/#post-14676425)
 * [@philapho](https://wordpress.org/support/users/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 [Philippe Cadu](https://wordpress.org/support/users/philapho/)
 * (@philapho)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/error-php-23/#post-14677287)
 * Thank you for your feedback
    I will keep you informed after the update good evening
 *  [Harshad](https://wordpress.org/support/users/bornforphp/)
 * (@bornforphp)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/error-php-23/#post-14678326)
 * [@philapho](https://wordpress.org/support/users/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.

 * ![](https://ps.w.org/wp-optimize/assets/icon-256x256.png?rev=1552899)
 * [WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance](https://wordpress.org/plugins/wp-optimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-optimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-optimize/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-optimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-optimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-optimize/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [Harshad](https://wordpress.org/support/users/bornforphp/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/error-php-23/#post-14678326)
 * Status: resolved