Support

Home Forums Event Espresso Premium Keep getting this in the error log

Keep getting this in the error log

Posted: November 4, 2017 at 10:01 am

Viewing 8 reply threads


DeansFarm

November 4, 2017 at 10:01 am

[03-Nov-2017 18:28:23 UTC] PHP Catchable fatal error: Argument 1 passed to EEH_Line_Item::delete_all_child_items() must be an instance of EE_Line_Item, null given, called in /home/deansfarmmarket/public_html/wp-content/plugins/event-espresso-core-reg/core/EE_Cart.core.php on line 381 and defined in /home/deansfarmmarket/public_html/wp-content/plugins/event-espresso-core-reg/core/helpers/EEH_Line_Item.helper.php on line 877


Tony

  • Support Staff

November 6, 2017 at 3:58 am

Hi there,

Do you have any custom code running within EE?

Is that the only error being thrown?

The error is a little strange (due to where it is happening) and I can’t reproduce it on my test sites, I’ve created a ticket for our developers to investigate but may need to narrow this down some.

Is there a test event I can run some tests on?


DeansFarm

November 6, 2017 at 4:49 am

Yes, if you provide us an email address I can give you access to the website as and admin to sort it out. Also, we cannot get people registered no matter how many EE documents I read and implement. This is an expensive plugin not to have it operational. Can this thread be read by other EE users?


Tony

  • Support Staff

November 6, 2017 at 5:03 am

Yes, this thread is publicly viewable.

For us to troubleshoot directly on your server you would usually need to purchase a support token. However, I’ll log in and take a quick look to see if there is anything obvious beforehand, you can provide login details using this form:

https://eventespresso.com/send-login-details/

Also, we cannot get people registered no matter how many EE documents I read and implement. This is an expensive plugin not to have it operational.

What is the problem you are running into with registrations and what have you tried so far?


Tony

  • Support Staff

November 6, 2017 at 8:48 am

Hi Tim,

I received the login details however neither of the credentials provided work, can you recheck and resend using the form again, please.


DeansFarm

November 6, 2017 at 9:45 am

Both have been fixed and tested. Both are working now and new form has been submitted.


Tony

  • Support Staff

November 7, 2017 at 5:34 am

The problem is from your sites theme, the related post section it is loading is actually parsing all content for the posts it’s showing and one of those posts is the EE ‘Transactions’ page. The error your getting in the log is from the transactions page being parsed from within the registration checkout page which is conflicting with the session and causing problems.

Note that all that section is showing for those posts is the title (and possibly the feature image) but in the background its actually going through and parsing all content for every post it lists (which is just crazy and really inefficient).

So to fix I edited the registration-checkout page and within the theme options for that page (Page Options -> Blog -> Single page -> Related Posts) set the option ‘Show related posts’ to No).

Now the checkout page loads correctly and the error should no longer be thrown.

However your theme is doing that on all pages, you likely want to disable that same option on all of the EE critical pages listed in:

Event Espresso -> General Settings -> Critical pages

If you need further help with this you will need to purchase a support token (or more) as the problems are not from EE but the theme doing very unexpected steps in the background.


DeansFarm

November 7, 2017 at 10:30 am

You’re awesome. Thanks a lot! ๐Ÿ™‚ We’ll make the suggested changes.


Tony

  • Support Staff

November 7, 2017 at 12:02 pm

You’re most welcome ๐Ÿ™‚

Viewing 8 reply threads

The support post ‘Keep getting this in the error log’ 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.

Event Espresso