Support » Plugin: Order Splitter for WooCommerce » Plugin produces PHP Notice(s)

  • Resolved Andrija Naglic

    (@andrija)


    Hello!

    I would like to use your plugin but I have 1 issue with it at this moment.

    Enabling the plugin causes my error.log file to get huge, I get like 3-5 PHP Notices every 3-5 seconds.
    Getting so many lines in the error log it makes it grow to 3-5 MB every day!

    The Notice goes like this:

    PHP Notice: is_page was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /home/my_user_name/www/wp-includes/functions.php on line 4986

    It’s either is_post_type_archive or is_page, but I can’t find any of those in the source of the plugin.

    I suspect that one of your hooks is triggering a WooCommerce action too early.

Viewing 1 replies (of 1 total)
  • Plugin Author Fahad Mahmood

    (@fahadmahmood)

    @andrija i would like you to test it’s upcoming version, if problem exists then must report me again but i am working on an improved and lighter version of this plugin which will hopefully fix these notices.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.