Title: PHP Upgrade Error
Last modified: July 11, 2025

---

# PHP Upgrade Error

 *  Resolved [Thomas](https://wordpress.org/support/users/spamolicious/)
 * (@spamolicious)
 * [11 months ago](https://wordpress.org/support/topic/php-upgrade-error-6/)
 * Hi all,
 * I’m running the latest version of Spacious, it’s looking and working great. However,
   I realized I was running php 7.4 (oops) -After changing to 8.3 the site breaks.
   I get an error: “There has been a critical error on this website”. I have tried
   disabling plugins without any success. So I assume it’s the theme.
 * I enabled wp debug and see this: PHP Notice: Function _load_textdomain_just_in_time
   was called **incorrectly**. Translation loading for the `spacious` domain was
   triggered too early. This is usually an indicator for some code in the plugin
   or theme running too early. Translations should be loaded at the `init` action
   or later.
 * and also: PHP Warning: Use of undefined constant ‘WP_POST_REVISIONS’ – assumed‘‘
   WP_POST_REVISIONS’’ (this will throw an Error in a future version of PHP)
 * Any thoughts or quick fixes?
 * I appreciate any replies!

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

 *  [Amrit Kumar Shrestha](https://wordpress.org/support/users/shresthauzwal/)
 * (@shresthauzwal)
 * [10 months, 4 weeks ago](https://wordpress.org/support/topic/php-upgrade-error-6/#post-18553703)
 * Hi [@spamolicious](https://wordpress.org/support/users/spamolicious/),
   Thank 
   you for reaching out.
 * We’ve released an updated version of the theme. Could you please update to the
   latest version and check if the issue is resolved?
   If the problem still exists
   after the update, please let us know, and we’ll look into it further.
 * Best regards!
 *  Thread Starter [Thomas](https://wordpress.org/support/users/spamolicious/)
 * (@spamolicious)
 * [10 months, 4 weeks ago](https://wordpress.org/support/topic/php-upgrade-error-6/#post-18554267)
 * Hello!
 * I have updated to the latest version of your theme, I then tried moving to php
   8.3 with the same results. Please advise.
 * Thank you for the quick response!
 *  [Amrit Kumar Shrestha](https://wordpress.org/support/users/shresthauzwal/)
 * (@shresthauzwal)
 * [10 months, 3 weeks ago](https://wordpress.org/support/topic/php-upgrade-error-6/#post-18555848)
 * Hi [@spamolicious](https://wordpress.org/support/users/spamolicious/),
   We couldn’t
   reproduce the issue with the latest version. If your site has any caching enabled,
   we recommend clearing all the caches and checking again.
 * Also, just to confirm—are you using a child theme on your site?
 * Best regards!
 *  Thread Starter [Thomas](https://wordpress.org/support/users/spamolicious/)
 * (@spamolicious)
 * [10 months, 3 weeks ago](https://wordpress.org/support/topic/php-upgrade-error-6/#post-18559954)
 * It looks like this may be more of WP issue than your theme. Thank you for looking
   into this, I’ll let you know how I get this resolved.
 * Thank you!
 *  [Amrit Kumar Shrestha](https://wordpress.org/support/users/shresthauzwal/)
 * (@shresthauzwal)
 * [10 months, 3 weeks ago](https://wordpress.org/support/topic/php-upgrade-error-6/#post-18561242)
 * Hi [@spamolicious](https://wordpress.org/support/users/spamolicious/),
   I’m glad
   to hear that you’ve identified the issue is more related to WordPress rather 
   than the theme. If you need any help from our team, we’re always here to support
   you.
 * In the meantime, we kindly ask you to mark this topic as resolved. If needed,
   you can always reopen it later.
 * Best regards! 😊
 *  Thread Starter [Thomas](https://wordpress.org/support/users/spamolicious/)
 * (@spamolicious)
 * [10 months, 3 weeks ago](https://wordpress.org/support/topic/php-upgrade-error-6/#post-18561294)
 * Thank you!
 *  [raindragon](https://wordpress.org/support/users/raindragon/)
 * (@raindragon)
 * [10 months, 1 week ago](https://wordpress.org/support/topic/php-upgrade-error-6/#post-18583945)
 * Hello,
 * Totally lost. Uploaded Spacious a few weeks ago so I could update my website.
   Php was not to the universes liking with the old theme. Took an act of Congress
   to get into the old site and got things changed. Now I can’t open the website
   with the updated theme as a visitor or get into the backside admin side. Any 
   ideas how I can get into my website so I can fix something / anything?
 * Thank you.

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

The topic ‘PHP Upgrade Error’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/spacious/1.9.12/screenshot.jpg)
 * Spacious
 * [Support Threads](https://wordpress.org/support/theme/spacious/)
 * [Active Topics](https://wordpress.org/support/theme/spacious/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/spacious/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/spacious/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [raindragon](https://wordpress.org/support/users/raindragon/)
 * Last activity: [10 months, 1 week ago](https://wordpress.org/support/topic/php-upgrade-error-6/#post-18583945)
 * Status: resolved