• 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 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

    (@vladogrcic)

    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 to reply to this topic.