Posted: May 5, 2014 at 1:45 am
|
Fatal error: Uncaught exception ‘EE_Error’ with message ”’ is neither an object of type EE_Datetime, nor an ID! Its full valeu is ”’ in /home2/kelantan/public_html/wp-content/plugins/event-espresso-core-reg1/core/db_models/EEM_Base.model.php:2651 Stack trace: #0 /home2/kelantan/public_html/wp-content/plugins/event-espresso-core-reg1/core/db_models/relations/EE_HABTM_Relation.php(82): EEM_Base->ensure_is_obj(NULL, true) #1 /home2/kelantan/public_html/wp-content/plugins/event-espresso-core-reg1/core/db_models/EEM_Base.model.php(921): EE_HABTM_Relation->add_relation_to(Object(EE_Ticket), NULL, Array) #2 /home2/kelantan/public_html/wp-content/plugins/event-espresso-core-reg1/core/db_classes/EE_Base_Class.class.php(1178): EEM_Base->add_relationship_to(Object(EE_Ticket), NULL, ‘Datetime’, Array) #3 /home2/kelantan/public_html/wp-content/plugins/event-espresso-core-reg1/caffeinated/admin/new/pricing/espresso_events_Pricing_Hooks.class.php(384): EE_Base_Class->_add_relation_to(NULL, ‘Datetime’) #4 /home2/kelantan/public_html/wp in /home2/kelantan/public_html/wp-content/plugins/event-espresso-core-reg1/core/db_models/EEM_Base.model.php on line 2651 and i cant add ticket more than 36 …. |
|
Hi, Thank you for notifying us regarding this. I will raise this with a developer to look into asap. Can I ask, is this error only appearing when you try to add more than 36 tickets? |
|
It did but I decided to delete the event and re-do again.When I create new event, I can only add ticket for certain amount.For example : |
Hi, I’m guessing you are running PHP version 5.3.9 or higher? As of PHP v5.3.9 there is a new PHP.ini options called max_input_vars which basically limits the amount of variables you can use within various PHP super globals ($_GET,$_POST,$_COOKIE) Most PHP installations have this set as the default value of 1000 which (depending on many other factors) is around 35 tickets with 1 datetime. To ‘fix’ this you’ll need to alter that limit, unfortunately the only way to do so is by editing the servers php.ini file or .htaccess (on apache) and adding: php_value max_input_vars 2000 ##note below values are only needed if your server uses the Suhosin patch php_value suhosin.get.max_vars 2000 php_value suhosin.post.max_vars 2000 php_value suhosin.request.max_vars 2000 Although your host may not allow you to override this setting, in which case you would need to contact them and request they up this limit themselves. |
|
|
Thanks ! after edit php_value max_input_vars 2000 ,the bug is solved . Thanks again 🙂 |
The support post ‘Fatal error: Uncaught exception 'EE_Error'’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.