Title: Errors after activation
Last modified: August 21, 2016

---

# Errors after activation

 *  [thowi](https://wordpress.org/support/users/thowi/)
 * (@thowi)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/errors-after-activation-3/)
 * Hi there
 * After activation I get the following error messages:
 *     ```
       Warning: scandir(/www/htdocs/.../wp-content/uploads/landing-pages/templates/): failed to open dir: No such file or directory in /www/htdocs/.../wp-content/plugins/landing-pages/modules/module.load-extensions.php on line 203
   
       Warning: scandir(): (errno 2): No such file or directory in /www/htdocs/.../wp-content/plugins/landing-pages/modules/module.load-extensions.php on line 203
   
       Warning: Invalid argument supplied for foreach() in /www/htdocs/.../wp-content/plugins/landing-pages/modules/module.load-extensions.php on line 207
   
       Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/.../wp-content/plugins/landing-pages/modules/module.load-extensions.php:203) in /www/htdocs/.../wp-includes/pluggable.php on line 1121
       ```
   
 * Health check plugin says:
    _Excellent: Your server is running PHP version 5.4.26-
   nmm1 and MySQL version 5.5.35 which will be great for WordPress 3.2 onward._
 * This is a brand new WP installation. No other plugins activated – no other themes
   than the very default. First thing after standard installation was installing
   the landing page plugin.
 * What can I do to fix the problem?
 * Thank you!
    thowi
 * [https://wordpress.org/plugins/landing-pages/](https://wordpress.org/plugins/landing-pages/)

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

 *  Thread Starter [thowi](https://wordpress.org/support/users/thowi/)
 * (@thowi)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/errors-after-activation-3/#post-5062939)
 * Hi guys
 * the problem still occurs… any ideas?
    I’d be happy to hear from you.
 * BR
    thowi
 *  Thread Starter [thowi](https://wordpress.org/support/users/thowi/)
 * (@thowi)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/errors-after-activation-3/#post-5062978)
 * Mh, I assume you have the same problem like me?
 *  Plugin Author [David Wells](https://wordpress.org/support/users/davidwells/)
 * (@davidwells)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/errors-after-activation-3/#post-5062979)
 * Turn on WP_DEBUG to display your specific error message by adding:
 * > define( ‘WP_DEBUG’, true );
 * To the top of your wp-config.php file.
 * Post the error message you see here and we might be able to fix it.
 * Also Please install the health check plugin and verify your site runs on PHP 
   version 5.3 or greater. [http://wordpress.org/plugins/health-check/](http://wordpress.org/plugins/health-check/)
 * Sometimes hosting providers display incorrect information about what version 
   you are running and you need to install the health check plugin to verify.
 * If it is not greater than 5.3.3. You need to contact your hosting provider for
   them to upgrade. PHP 5.3.3 came out in 2010
 *  Thread Starter [thowi](https://wordpress.org/support/users/thowi/)
 * (@thowi)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/errors-after-activation-3/#post-5062981)
 * Hi David
 * Thank you for your reply!
    After activating WP_DEBUG in line 79 of wp-config.
   php:
 *     ```
       /**
        * For developers: WordPress debugging mode.
        *
        * Change this to true to enable the display of notices during development.
        * It is strongly recommended that plugin and theme developers use WP_DEBUG
        * in their development environments.
        */
       define('WP_DEBUG', true);
       ```
   
 * I get the following error message:
 *     ```
       Warning: scandir(/www/htdocs/.../wp-content/uploads/landing-pages/templates/): failed to open dir: No such file or directory in /www/htdocs/.../wp-content/plugins/landing-pages/modules/module.load-extensions.php on line 203
   
       Warning: scandir(): (errno 2): No such file or directory in /www/htdocs/.../wp-content/plugins/landing-pages/modules/module.load-extensions.php on line 203
   
       Warning: Invalid argument supplied for foreach() in /www/htdocs/.../wp-content/plugins/landing-pages/modules/module.load-extensions.php on line 207
   
       Notice: Undefined index: edit.php?post_type=wp-lead in /www/htdocs/.../wp-content/plugins/landing-pages/shared/classes/class.post-type.wp-lead.php on line 257
   
       Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/.../wp-content/plugins/landing-pages/modules/module.load-extensions.php:203) in /www/htdocs/.../wp-includes/pluggable.php on line 1121
       ```
   
 * Does this help?
 * Health check plugin says:
    _Excellent: Your server is running PHP version 5.4.26-
   nmm1 and MySQL version 5.5.35 which will be great for WordPress 3.2 onward.
 * BR
    thowi
 *  Plugin Author [David Wells](https://wordpress.org/support/users/davidwells/)
 * (@davidwells)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/errors-after-activation-3/#post-5062982)
 * Are your servers file permissions messed up. Looks like it can’t read/create 
   directories
 *  Thread Starter [thowi](https://wordpress.org/support/users/thowi/)
 * (@thowi)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/errors-after-activation-3/#post-5062995)
 * Hm okay, that may be possible. Which folder needs permissions for creating directories?
   The whole landing-pages plugin folder?
 *  [Brandon Moner](https://wordpress.org/support/users/ctvonline/)
 * (@ctvonline)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/errors-after-activation-3/#post-5062997)
 * Could’ve used a bit of this guidance as well as I asked the same question yesterday
   and have been waiting for updates. However I’d like to know what permissions 
   need to be what as I installed this on a very fresh install of WP and [am getting errors](http://wordpress.org/support/topic/error-when-viewing-newly-created-landing-page?replies=1).
 *  Thread Starter [thowi](https://wordpress.org/support/users/thowi/)
 * (@thowi)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/errors-after-activation-3/#post-5063020)
 * Hi everyone,
 * well, I just set the whole pluginfolder and all subdirectories 777, but noting
   changed at all. I still get the error messages.
 * So David, is that what you meant?
 * BR
    thowi
 *  Plugin Author [David Wells](https://wordpress.org/support/users/davidwells/)
 * (@davidwells)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/errors-after-activation-3/#post-5063023)
 * Contact your hosting provider or request premium support. We can no longer troubleshoot
   specific issues like this for free and maintain the plugin:
 * [http://dev.inboundnow.com/submit-a-work-request/](http://dev.inboundnow.com/submit-a-work-request/)
 *  Thread Starter [thowi](https://wordpress.org/support/users/thowi/)
 * (@thowi)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/errors-after-activation-3/#post-5063025)
 * Okay…. keep cool. I’ll just use some other plugin – no offense…
 *  Plugin Author [David Wells](https://wordpress.org/support/users/davidwells/)
 * (@davidwells)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/errors-after-activation-3/#post-5063026)
 * None taken. Have a good one

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

The topic ‘Errors after activation’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/landing-pages_88766e.svg)
 * [WordPress Landing Pages](https://wordpress.org/plugins/landing-pages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/landing-pages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/landing-pages/)
 * [Active Topics](https://wordpress.org/support/plugin/landing-pages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/landing-pages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/landing-pages/reviews/)

 * 11 replies
 * 3 participants
 * Last reply from: [David Wells](https://wordpress.org/support/users/davidwells/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/errors-after-activation-3/#post-5063026)
 * Status: not resolved