Title: PHP 8.2 upgrade issues
Last modified: February 22, 2024

---

# PHP 8.2 upgrade issues

 *  Resolved [David Ruekberg](https://wordpress.org/support/users/druekberg/)
 * (@druekberg)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/php-8-2-upgrade-issues/)
 * My ISP recently forced a PHP upgrade on my site from 8.1 to 8.2. Suddenly a bunch
   of error messages appeared in the header, such as
 * “Deprecated: Creation of dynamic property WP_Review_Me::$days is deprecated in/
   home/XXXX/poetry.ruekberg.com/wp-content/themes/startup-blog/inc/review.php on
   line 81” (XXX is the user directory)
 * All the errors relate to this theme. I reverted to PHP 8.1 and everything returned
   to normal. Will there be an update to this theme, or should I stick with 8.1?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-8-2-upgrade-issues%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Theme Author [Ben Sibley](https://wordpress.org/support/users/bensibley/)
 * (@bensibley)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/php-8-2-upgrade-issues/#post-17446090)
 * Hi David,
 * Thanks for getting in touch about this.
 * I will release an update soon to fix these error messages. Since it is only a
   deprecation notice, there aren’t any adverse effects on the site. You can stay
   on 8.1 for now, or if you aren’t bothered by the deprecation notices showing 
   up in the log, you can switch to 8.2, and I’ll have the update out soon.
 *  Thread Starter [David Ruekberg](https://wordpress.org/support/users/druekberg/)
 * (@druekberg)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/php-8-2-upgrade-issues/#post-17446456)
 * Thanks, 8.1 seems to be working fine. It’s not that the deprecation notices were
   showing up in the log, they were listed in the header even for site visitors,
   which took up almost the whole screen. Anyway, thanks for the reply, I appreciate
   it and look forward to the update.
 *  Theme Author [Ben Sibley](https://wordpress.org/support/users/bensibley/)
 * (@bensibley)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/php-8-2-upgrade-issues/#post-17446910)
 * Okay I understand.
 * In your wp-config.php file, you should add the following lines:
 *     ```wp-block-code
       define('WP_DEBUG_DISPLAY', false);
       define('WP_DEBUG_LOG', true);
       ```
   
 * This will prevent any error messages from being displayed publicly on the site
   and save them to a log file instead.
 * If you have errors from any plugins in the future, they will also show up on 
   the site, which will be annoying. This way, you can check the debug.log file 
   in the /wp-content/ folder instead, and keep track of any errors without affecting
   your visitors.
 *  Thread Starter [David Ruekberg](https://wordpress.org/support/users/druekberg/)
 * (@druekberg)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/php-8-2-upgrade-issues/#post-17447614)
 * Great, thanks!
 *  Theme Author [Ben Sibley](https://wordpress.org/support/users/bensibley/)
 * (@bensibley)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/php-8-2-upgrade-issues/#post-17449316)
 * Hey David,
 * The update is out now and the errors with PHP 8.2 are resolved.

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

The topic ‘PHP 8.2 upgrade issues’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/startup-blog/1.41/screenshot.png)
 * Startup Blog
 * [Support Threads](https://wordpress.org/support/theme/startup-blog/)
 * [Active Topics](https://wordpress.org/support/theme/startup-blog/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/startup-blog/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/startup-blog/reviews/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)

 * 5 replies
 * 2 participants
 * Last reply from: [Ben Sibley](https://wordpress.org/support/users/bensibley/)
 * Last activity: [2 years, 3 months ago](https://wordpress.org/support/topic/php-8-2-upgrade-issues/#post-17449316)
 * Status: resolved