Title: PHP error on new installation
Last modified: February 16, 2018

---

# PHP error on new installation

 *  Resolved [blacklp](https://wordpress.org/support/users/blacklp/)
 * (@blacklp)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/php-error-on-new-installation/)
 * Just installed Simple Event Planner, and trying to add the first event get the
   following PHP error in the “Add Segments” part of the form:
 * Warning: sizeof(): Parameter must be an array or an object that implements Countable
   in C:\xampp\htdocs\sdg\wp-content\plugins\simple-event-planner\includes\meta-
   boxes\class-simple-event-planner-meta-box-event-options.php on line 203

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

 *  Plugin Author [PressTigers](https://wordpress.org/support/users/presstigers/)
 * (@presstigers)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/php-error-on-new-installation/#post-9988354)
 * Sorry for the inconvenience.
 * We are unable to reproduce this issue at our end. Can you please send us the 
   string which you are adding in segments?
    -  This reply was modified 8 years, 3 months ago by [PressTigers](https://wordpress.org/support/users/presstigers/).
 *  Thread Starter [blacklp](https://wordpress.org/support/users/blacklp/)
 * (@blacklp)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/php-error-on-new-installation/#post-9989956)
 * I haven’t even got that far: I just did a clean install on WP 4.9.4 and went 
   to the “Add Event” screen and the error message was already there in the “Add
   Segments” box.
 *  Plugin Author [PressTigers](https://wordpress.org/support/users/presstigers/)
 * (@presstigers)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/php-error-on-new-installation/#post-9995865)
 * [@blacklp](https://wordpress.org/support/users/blacklp/),
 * Can you please let us know which SEP version you are using so we can try to reproduce
   the issue at our end and then further help you.
 * Thanks,
 *  Thread Starter [blacklp](https://wordpress.org/support/users/blacklp/)
 * (@blacklp)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/php-error-on-new-installation/#post-9999095)
 * I purposely tried SEP on a local (XAMPP with PHP 7) copy of the latest WordPress
   and installed a clean copy of the latest SEP (1.4.0) through the Add Plugin screen.
 * Regards.
 *  Plugin Author [PressTigers](https://wordpress.org/support/users/presstigers/)
 * (@presstigers)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/php-error-on-new-installation/#post-10001210)
 * [@blacklp](https://wordpress.org/support/users/blacklp/),
 * Thanks for sharing information.
 * We have tested this issue on our development server with WP fresh installation
   and latest PHP version but SEP works fine for us.
 * Regards,
 *  Thread Starter [blacklp](https://wordpress.org/support/users/blacklp/)
 * (@blacklp)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/php-error-on-new-installation/#post-10004594)
 * I’ve just done a completely clean installation of WP 4.9.4 (download, unzip to
   server, new empty database, etc) and then downloaded a clean copy of SEP from
   the WP plugin area and still get exactly the same error.
 * Regards
 *  Plugin Author [PressTigers](https://wordpress.org/support/users/presstigers/)
 * (@presstigers)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/php-error-on-new-installation/#post-10009098)
 * [@blacklp](https://wordpress.org/support/users/blacklp/),
 * We will test it again on our development server and if we found it then surely
   we will fix it in our next SEP release.
 * As this is a warning and you can bypass it by turning off the debugger on your
   _wp-config.php_ file.
 * Let us know if you need any other assistance from us.
 * Thanks & Regards,
    -  This reply was modified 8 years, 3 months ago by [PressTigers](https://wordpress.org/support/users/presstigers/).
 *  Thread Starter [blacklp](https://wordpress.org/support/users/blacklp/)
 * (@blacklp)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/php-error-on-new-installation/#post-10010422)
 * WP_DEBUG is already set to false, as you’d expect on a default new installation,
   but I still get the message.
 * Regards.
 *  Plugin Author [PressTigers](https://wordpress.org/support/users/presstigers/)
 * (@presstigers)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/php-error-on-new-installation/#post-10014188)
 * Please contact us [support@presstigers.com](https://wordpress.org/support/topic/php-error-on-new-installation/support@presstigers.com?output_format=md)
   so that we can provide you the personalized support.
 * Thanks!

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

The topic ‘PHP error on new installation’ is closed to new replies.

 * ![](https://ps.w.org/simple-event-planner/assets/icon-256x256.png?rev=1808471)
 * [Simple Event Planner](https://wordpress.org/plugins/simple-event-planner/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-event-planner/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-event-planner/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-event-planner/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-event-planner/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-event-planner/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [PressTigers](https://wordpress.org/support/users/presstigers/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/php-error-on-new-installation/#post-10014188)
 * Status: resolved