• Resolved corona17

    (@corona17)


    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

    (@wipeoutmedia)

    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

    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 6 years, 2 months ago by Chris.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Installation Errors’ is closed to new replies.