Theme Compatibility Issues with WordPress 6.8.1 and PHP 8.1

Home Forums Gillion Theme Theme Compatibility Issues with WordPress 6.8.1 and PHP 8.1

Home Forums Gillion Theme Theme Compatibility Issues with WordPress 6.8.1 and PHP 8.1

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • bharanii95dev
    Participant

    Hi,

    We are currently using the latest version of the Gillion theme along with the latest WordPress version (6.8.1) and PHP 8.1 on our website.

    After activating or updating some plugins, we’re encountering several notices and deprecated warnings related to the theme and translation loading. Below are some of the messages we’re seeing:

    Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wp-maximum-upload-file-size 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/jetrails/tilebar.com/html/learn/wp-includes/functions.php on line 6121

    Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the gillion 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/jetrails/tilebar.com/html/learn/wp-includes/functions.php on line 6121

    Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/jetrails/tilebar.com/html/learn/wp-includes/functions.php on line 7360

    Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/jetrails/tilebar.com/html/learn/wp-includes/functions.php on line 2195
    These notices suggest that the theme may not be fully compatible with the latest WordPress and PHP versions—particularly regarding translation loading and handling of null values in string-related functions.

    Could you please confirm whether updates to address these issues are planned? Also, is there any recommended workaround we can implement in the meantime?

    Here is the website url: https://wpstage.tilebar.com/learn/

    Attachments:
    You must be logged in to view attached files.

    Shufflehound
    Moderator

    Hello,

     

    It’s odd because Gillion doesn’t call _load_textdomain_just_in_time() directly. Since you’re seeing it for both the “gillion” and “wp-maximum-upload-file-size” domains, it is almost certainly a plugin loading translations too early. We’ve tested Gillion on our demo (WordPress 6.8.1 + PHP 8.3) without any such notices.

     

    Please try these steps to pinpoint the cause:

    • Plugin conflict – Deactivate plugins one by one until the notices disappear.
    • Theme isolation – Switch temporarily to a default theme (e.g. Twenty Twenty Five) to see if the deprecated string warnings persist.

     

    Let me know if that helps! 🙂

     

    Best regards,

    Shufflehound team

Viewing 2 posts - 1 through 2 (of 2 total)