Viewing 2 replies - 1 through 2 (of 2 total)
  • Imageeclev91

    (@eclev91)

    ChatGPT’s answer/solution is wrong, but this is an issue w/ this plugin.

    Imageeclev91

    (@eclev91)

    In printful-shipping.php, line 79, the Printful_Shipping singleton is initialized, which depends on translations. This method is hooked onto plugins_loaded, which is too early for translations.

    It’s possible the entire method can be hooked onto init instead, or it’s possible it needs to be split out into two methods with different hooks. Worst-case scenario, init is too late for some of the other work done in the Printful_Shipping class, but that seems unlikely.

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

You must be logged in to reply to this topic.