Title: Plugin does not support PHP8.2
Last modified: January 13, 2026

---

# Plugin does not support PHP8.2

 *  [asy1mpo](https://wordpress.org/support/users/asy1mpo/)
 * (@asy1mpo)
 * [5 months, 1 week ago](https://wordpress.org/support/topic/plugin-does-not-support-php8-2/)
 * When update to PHP8.2, get a 500 error on site.
 * Enabled error log and got this –
 * [13-Jan-2026 00:23:50 UTC] PHP Notice: Function _load_textdomain_just_in_time
   was called **incorrectly**. Translation loading for the `page_restrict_domain`
   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. Please see [Debugging in WordPress](https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/)
   for more information. (This message was added in version 6.7.0.) in /home/domains/
   vol2/358/2028358/user/htdocs/wp-includes/functions.php on line 6131
 * From checking on ChatGPT (I know!) and some Googling, looks like its the Page
   Restrict plugin.
 * Says to tell them: “_load_textdomain_just_in_time is called too early; need to
   load translations on init hook.”

Viewing 1 replies (of 1 total)

 *  Plugin Author [Vlado Grcic](https://wordpress.org/support/users/vladogrcic/)
 * (@vladogrcic)
 * [5 months ago](https://wordpress.org/support/topic/plugin-does-not-support-php8-2/#post-18789473)
 * Yeah it looks like its my plugin. Might have used something incorrectly for the
   later versions. I’ll try and fix it when I can. I have quite a few issues to 
   resolve so not sure when.

Viewing 1 replies (of 1 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-does-not-support-php8-2%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/page-restrict-for-woocommerce/assets/icon.svg?rev=2274512)
 * [Page Restrict for WooCommerce](https://wordpress.org/plugins/page-restrict-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/page-restrict-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/page-restrict-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/page-restrict-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/page-restrict-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/page-restrict-for-woocommerce/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Vlado Grcic](https://wordpress.org/support/users/vladogrcic/)
 * Last activity: [5 months ago](https://wordpress.org/support/topic/plugin-does-not-support-php8-2/#post-18789473)
 * Status: not resolved