Hube2 / acf-options-page-adder

Easy creation of options pages for ACF Pro
62 stars 14 forks source link

After first time activate plugin i got errors #52

Open kvasss opened 5 years ago

kvasss commented 5 years ago

Hi After first time activate plugin i got errors. After adding a new page, the problem is fixed. So poblem in count pages but i cant fix it by myself. Please help)))

Warning: count(): Parameter must be an array or an object that implements Countable in \wp-content\plugins\options-page-admin-for-acf\options-pages.php on line 1020

Warning: Invalid argument supplied for foreach() in \wp-content\plugins\options-page-admin-for-acf\options-pages.php on line 1023

Warning: count(): Parameter must be an array or an object that implements Countable in \wp-content\plugins\options-page-admin-for-acf\options-pages.php on line 1020

Warning: Invalid argument supplied for foreach() in \wp-content\plugins\options-page-admin-for-acf\options-pages.php on line 1023

Warning: count(): Parameter must be an array or an object that implements Countable in \wp-content\plugins\options-page-admin-for-acf\options-pages.php on line 1020

Warning: Invalid argument supplied for foreach() in \wp-content\plugins\options-page-admin-for-acf\options-pages.php on line 1023

Warning: count(): Parameter must be an array or an object that implements Countable in \wp-content\plugins\options-page-admin-for-acf\options-pages.php on line 1020

Warning: Invalid argument supplied for foreach() in \wp-content\plugins\options-page-admin-for-acf\options-pages.php on line 1023

Warning: Cannot modify header information - headers already sent by (output started at \wp-content\plugins\options-page-admin-for-acf\options-pages.php:1020) in C:\OSPanel\domains\beaver.local\wp-admin\includes\misc.php on line 1198

Hube2 commented 5 years ago

I thought I had this issue fixed. I will work on it.

Hube2 commented 5 years ago

This should be corrected now.

It should have been corrected before. I had the change made and pushed but for some reason the changes were not reflected in the file after the push. Not user what happened. But this should be corrected if you update.

Thanks for letting me know about the issue.