Title: Installation Errors
Last modified: August 8, 2018

---

# Installation Errors

 *  Resolved [corona17](https://wordpress.org/support/users/corona17/)
 * (@corona17)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/installation-errors-14/)
 * Hi,
 * I am trying to install this plugin but I am getting errors after I activate the
   plugin. I have gone through the installation process (setting up the databases)
   but it still does not work. I am developing the site through a local server using
   WAMP and Windows10.
 * Wordpress Version: 4.9.8
    PHP: 7.2.4 MySQL: 5.7.21 Apache: 2.4.33
 * `( ! ) Warning: Cannot modify header information - headers already sent by (output
   started at C:\wamp64\www\mysite_dev\wp-content\plugins\css-javascript-toolbox\
   framework\events\subjects\hook.subject.php:81) in C:\wamp64\www\mysite_dev\wp-
   admin\includes\misc.php on line 1126`
 * `( ! ) Warning: count(): Parameter must be an array or an object that implements
   Countable in C:\wamp64\www\mysite_dev\wp-content\plugins\css-javascript-toolbox\
   framework\events\subjects\hook.subject.php on line 82`
 *     ```
       ( ! ) Warning: count(): Parameter must be an array or an object that implements Countable in C:\wamp64\www\mysite_dev\wp-content\plugins\css-javascript-toolbox\framework\events\subjects\hook.subject.php on line 81
       Call Stack
       ```
   
 * Thanks

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

 *  Plugin Author [wipeoutmedia](https://wordpress.org/support/users/wipeoutmedia/)
 * (@wipeoutmedia)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/installation-errors-14/#post-10575447)
 * Hi corona17,
 * This PHP warning message is a PHP 7.2+ issue. We hope to have this resolved in
   the near future with an update. There are some information available on this.
   Users have reported it solved by switching back to 7.1
 * Sorry for the inconvenience.
 * Kind Regards,
    Damian Baker
 *  [Chris](https://wordpress.org/support/users/stchris/)
 * (@stchris)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/installation-errors-14/#post-10987773)
 * On the latest update I get the same error running PHP7.2. I didn’t see the error
   before.
 * On PHP7.2+ it should suffice to change:
    /framework/events/subjects/subject.subject.
   php LINE: 70
 * from
    return isset($this->definition[$name]) ? $this->definition[$name] : NULL;
 * to
    return isset($this->definition[$name]) ? $this->definition[$name] : [];
 * At least I get no errors doing this.
    Hope this helps. Kind regards Chris
    -  This reply was modified 7 years, 5 months ago by [Chris](https://wordpress.org/support/users/stchris/).

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

The topic ‘Installation Errors’ is closed to new replies.

 * ![](https://ps.w.org/css-javascript-toolbox/assets/icon-256x256.gif?rev=3132209)
 * [CSS & JavaScript Toolbox](https://wordpress.org/plugins/css-javascript-toolbox/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/css-javascript-toolbox/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/css-javascript-toolbox/)
 * [Active Topics](https://wordpress.org/support/plugin/css-javascript-toolbox/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/css-javascript-toolbox/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/css-javascript-toolbox/reviews/)

## Tags

 * [PHP 7.2](https://wordpress.org/support/topic-tag/php-7-2/)

 * 2 replies
 * 3 participants
 * Last reply from: [Chris](https://wordpress.org/support/users/stchris/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/installation-errors-14/#post-10987773)
 * Status: resolved