Title: PHP Errors
Last modified: February 14, 2026

---

# PHP Errors

 *  Resolved [rayeason](https://wordpress.org/support/users/rayeason/)
 * (@rayeason)
 * [3 months, 3 weeks ago](https://wordpress.org/support/topic/php-errors-349/)
 * Hello and good day. I am seeing the following error in the logs constantly.
 * 2026/02/14 20:13:14 [error] 3766117#3766117: *543450 FastCGI sent in stderr: “
   PHP message: PHP Notice: Function _load_textdomain_just_in_time was called **
   incorrectly**. Translation loading for the `photo-gallery` 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.)
 * Is this a known issue?

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

 *  Plugin Support [Nik](https://wordpress.org/support/users/nikitaanisimov/)
 * (@nikitaanisimov)
 * [3 months, 2 weeks ago](https://wordpress.org/support/topic/php-errors-349/#post-18829254)
 *  Hi [@rayeason](https://wordpress.org/support/users/rayeason/) – thanks for reporting
   this
 * The debug notice you’re seeing [started appearing more frequently with WordPress 6.7](https://stackoverflow.com/questions/79198701/notice-function-load-textdomain-just-in-time-was-called-incorrectly),
   which introduced stricter checks around when translations are loaded. In this
   case, the warning indicates that our plugin is loading translations slightly 
   earlier than WordPress now recommends.
 * I’d like to reassure you that:
    - This is a **non-critical notice** and does not affect your site’s functionality.
    - It does not indicate a security issue.
    - It typically only appears when **debug mode is enabled** or when the server
      is configured to display PHP notices.
 * We are aware of this behaviour and are aligning the plugin with the latest WordPress
   standards in an upcoming update. In the meantime, it is safe to disregard this
   message if everything on the site is functioning as expected.
 * Please let me know if you notice any actual functionality issues and I’ll be 
   happy to investigate further
 *  Thread Starter [rayeason](https://wordpress.org/support/users/rayeason/)
 * (@rayeason)
 * [3 months, 2 weeks ago](https://wordpress.org/support/topic/php-errors-349/#post-18829437)
 * Thank you.
 * I encountered this in the logs while trying to troubleshoot another ticket:
   [https://wordpress.org/support/topic/can-not-edit-gallery-settings-after-adding-widget/](https://wordpress.org/support/topic/can-not-edit-gallery-settings-after-adding-widget/)
   It has been over a week with no response.
 * Can someone help, please?
 *  Plugin Support [Yasin Abedi](https://wordpress.org/support/users/yasinabedi/)
 * (@yasinabedi)
 * [1 month, 1 week ago](https://wordpress.org/support/topic/php-errors-349/#post-18891103)
 * Hi [@rayeason](https://wordpress.org/support/users/rayeason/) , 
   As the matter
   is answered in the mentioned forum post, I will go ahead and mark this one as
   solved.Should you face any other issues/questions, feel free to open a new one.

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

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

 * ![](https://ps.w.org/photo-gallery/assets/icon-256x256.png?rev=2068745)
 * [Photo Gallery by 10Web - Mobile-Friendly Image Gallery](https://wordpress.org/plugins/photo-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/photo-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/photo-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/photo-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/photo-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/photo-gallery/reviews/)

## Tags

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

 * 3 replies
 * 3 participants
 * Last reply from: [Yasin Abedi](https://wordpress.org/support/users/yasinabedi/)
 * Last activity: [1 month, 1 week ago](https://wordpress.org/support/topic/php-errors-349/#post-18891103)
 * Status: resolved