• Resolved madeglobal

    (@madeglobal)


    Hello, we have been using Query Monitor to see what was slowing our site down, and have found LOTS of Strict warnings, not hidden by your hide strict warning define. BUT more seriously there is the following warning:

    include_once(): Failed opening ‘<hidden for this comment>/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/wpcli/package.module.wpcli.php’ for inclusion

    I’ve downloaded the latest version of your plugin and looked in the wpcli directory and there IS NO package.module.wpcli.php in the directory. But there IS a file module.wpcli.php (without the package bit).

    I suspect you’ve made a mistake with your include declaration, and thet that is might be important …

    https://www.ads-software.com/plugins/nextgen-gallery/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter madeglobal

    (@madeglobal)

    Further to this, if I rename module.wpcli.php as package.module.wpcli.php then the website goes offline, so it isn’t just a naming issue.

    Benjamin

    (@benjaminowens)

    Hi madeglobal,

    Our WP-CLI module doesn’t have any additional classes or mixins and exists as just the one file so our build process doesn’t create the package.module.(module-name).php file; there’s no need to rename module.wpcli.php

    We know that NextGen creates a handful of strict warnings (and with PHP7 just plain warnings) that are a side result of us using a PHP framework that adds mixins-like features to PHP. Unfortunately we’re not really able to fix them until we can make PHP 5.4 our minimum requirement.

    In this case the missing file is totally harmless. I’ll find a way to prevent this from being generated in future releases; we’re in testing of a new release now so it may come in the version after this upcoming one.

    You could create a blank file named ‘package.module.wpcli.php’ to silence the warning for now.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘missing modules/wpcli/package.module.wpcli.php’ is closed to new replies.