Title: Issue loading infinity when i activate plugin on PHP 7
Last modified: July 26, 2018

---

# Issue loading infinity when i activate plugin on PHP 7

 *  Resolved [huynhhuynh](https://wordpress.org/support/users/huynhhuynh/)
 * (@huynhhuynh)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/issue-loading-infinity-when-i-activate-plugin-on-php-7/)
 * I setup new wordpress site and install your plugin in step active plugin my site
   loading infinity and can’t active plugin. My host use PHP7.0
 * I tried down PHP version 5.6 and tried active plugin again it working normal.
 * Could you please check it. Thanks!
    -  This topic was modified 7 years, 10 months ago by [huynhhuynh](https://wordpress.org/support/users/huynhhuynh/).
    -  This topic was modified 7 years, 10 months ago by [huynhhuynh](https://wordpress.org/support/users/huynhhuynh/).

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

 *  [Dimitris – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support6/)
 * (@wpmudev-support6)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/issue-loading-infinity-when-i-activate-plugin-on-php-7/#post-10534592)
 * Hello [@huynhhuynh](https://wordpress.org/support/users/huynhhuynh/)
 * This will need a little more of investigation, as PHP v.7 shouldn’t cause that.
 * Could you please update PHP to v.7 again, then access your server via FTP, edit**
   wp-config.php** file, find a line like
    `define('WP_DEBUG', false);`and replace
   it with the following (if the above line doesn’t exist, simply insert next snippet
   just above the _/* That’s all, stop editing! Happy blogging. */_ comment)
 *     ```
       // Enable WP_DEBUG mode
       define('WP_DEBUG', true);
       // Enable Debug logging to the /wp-content/debug.log file
       define('WP_DEBUG_LOG', true);
       @ini_set( 'log_errors', 1 );
       // Disable display of errors and warnings
       define('WP_DEBUG_DISPLAY', false);
       @ini_set('display_errors', 0);
       ```
   
 * Then go ahead and try to replicate the error, by activating our plugin again 
   and the infinite load comes up again.
    By doing so, a **/wp-content/debug.log**
   file should be created. Simply download it and use a service like Dropbox or 
   Google Drive to upload it and post the shareable link here in your next reply.
   🙂
 * Ref: [https://premium.wpmudev.org/blog/debugging-wordpress-how-to-use-wp_debug/](https://premium.wpmudev.org/blog/debugging-wordpress-how-to-use-wp_debug/)
 * Warm regards,
    Dimitris
 *  [Imran – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support9/)
 * (@wpmudev-support9)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/issue-loading-infinity-when-i-activate-plugin-on-php-7/#post-10558117)
 * Hello [@huynhhuynh](https://wordpress.org/support/users/huynhhuynh/)
 * Hope all is well!
 * We’ve not heard from you in a while. I’ve marked this ticket as resolved for 
   now, but if you need anything else at all, we’re here for you, please just reopen
   the ticket or create a new one.
 * Have a good day and take care!
 * Cheers,
    Nastia

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

The topic ‘Issue loading infinity when i activate plugin on PHP 7’ is closed to 
new replies.

 * ![](https://ps.w.org/custom-sidebars/assets/icon-256x256.png?rev=1414065)
 * [Custom Sidebars - Dynamic Sidebar Classic Widget Area Manager](https://wordpress.org/plugins/custom-sidebars/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-sidebars/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-sidebars/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-sidebars/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-sidebars/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-sidebars/reviews/)

## Tags

 * [active](https://wordpress.org/support/topic-tag/active/)

 * 2 replies
 * 3 participants
 * Last reply from: [Imran – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support9/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/issue-loading-infinity-when-i-activate-plugin-on-php-7/#post-10558117)
 * Status: resolved