Title: missing modules/wpcli/package.module.wpcli.php
Last modified: August 31, 2016

---

# missing modules/wpcli/package.module.wpcli.php

 *  Resolved [madeglobal](https://wordpress.org/support/users/madeglobal/)
 * (@madeglobal)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/missing-moduleswpclipackagemodulewpcliphp/)
 * 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://wordpress.org/plugins/nextgen-gallery/](https://wordpress.org/plugins/nextgen-gallery/)

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

 *  Thread Starter [madeglobal](https://wordpress.org/support/users/madeglobal/)
 * (@madeglobal)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/missing-moduleswpclipackagemodulewpcliphp/#post-7217322)
 * 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](https://wordpress.org/support/users/benjaminowens/)
 * (@benjaminowens)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/missing-moduleswpclipackagemodulewpcliphp/#post-7217488)
 * 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.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Benjamin](https://wordpress.org/support/users/benjaminowens/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/missing-moduleswpclipackagemodulewpcliphp/#post-7217488)
 * Status: resolved