PHP error on activate
-
On activate I got php error and wordpress plugin manager dashboard showed some xxx character …type error.
As I have debug enabled in wordpress I found this
[22-Mar-2020 20:08:52 UTC] PHP Warning: array_slice() expects parameter 1 to be array, boolean given in C:\xampp\htdocs\wordpress\wp-content\plugins\wp-crowdfunding\includes\woocommerce\Templating.php on line 245
[22-Mar-2020 20:08:52 UTC] PHP Warning: array_diff(): Argument #2 is not an array in C:\xampp\htdocs\wordpress\wp-content\plugins\wp-crowdfunding\includes\woocommerce\Templating.php on line 246
[22-Mar-2020 20:08:52 UTC] PHP Warning: count(): Parameter must be an array or an object that implements Countable in C:\xampp\htdocs\wordpress\wp-content\plugins\wp-crowdfunding\includes\woocommerce\Templating.php on line 248
- The topic ‘PHP error on activate’ is closed to new replies.