You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We force activate some plugins in our framework and one of those plugins is solr-power and for whatever reason, it looks like running the codeception integration tests is creating some empty variables here
[PHPUnit\Framework\Exception] count(): Parameter must be an array or an object that implements Countable
#1 /xxxx/wp-content/plugins/solr-power/includes/class-solrpower-sync.php:358
#2 /xxxx/wp-content/plugins/solr-power/includes/class-solrpower-sync.php:87
#3 /xxxx/wp/wp-includes/class-wp-hook.php:288
#4 /xxxx/wp/wp-includes/class-wp-hook.php:310
#5 /xxxx/wp/wp-includes/plugin.php:453
#6 /xxxx/wp/wp-includes/post.php:3747
#7 /xxxx/dev/tests/vendor/lucatume/wp-browser/src/includes/factory/class-wp-unittest-factory-for-post.php:17
#8 /xxxx/dev/tests/vendor/lucatume/wp-browser/src/includes/factory/class-wp-unittest-factory-for-thing.php:32
#9 /xxxx/dev/tests/tests/integration/Tribe/Project/Ratings/ProgramTest.php:28
The text was updated successfully, but these errors were encountered:
Well, running SolrPower_Options::get_instance()->initalize_options(); in my test's setUp() method fixes this, but I'm still wondering if this is something you may want to add additional countable checks for?
We force activate some plugins in our framework and one of those plugins is solr-power and for whatever reason, it looks like running the codeception integration tests is creating some empty variables here
The text was updated successfully, but these errors were encountered: