Support

Home Forums Event Espresso Premium EE4 Error when adding a registration from backend

EE4 Error when adding a registration from backend

Posted: November 8, 2017 at 6:36 am

Viewing 22 reply threads


Elizabeth

November 8, 2017 at 6:36 am

Fatal error: Call to a member function get() on null in /home/mastergv/public_html/wp-content/plugins/event-espresso-core-reg/caffeinated/admin/new/pricing/espresso_events_Pricing_Hooks.class.php on line 680


Elizabeth

November 8, 2017 at 6:37 am

Sorry, I think she said when adding an event from the backend.


Josh

  • Support Staff

November 8, 2017 at 6:51 am

Hi Dorian,

The error message indicates that someone deleted the default ticket set in Event Espresso > Events > Default Tickets.

If you go to the Default Tickets page does it list a default ticket there? If not can you restore one from the trash?


Elizabeth

November 8, 2017 at 6:57 am

I do not see Event Espresso > Events > Default Tickets. I see Overview, Categories, Templates, Default Settings


Josh

  • Support Staff

November 8, 2017 at 7:24 am

You’ll need to make sure that you’re logged in as an admin, and you can try going directly to this URL:

yoursite.com/wp-admin/admin.php?page=espresso_events&action=ticket_list_table

If that page throws a “you do not have access to this page” error, then you can go to Event Espresso > Maintenance > Reset then click on the Reset Event Espresso Capabilities button. This will restore any missing capabilities and you can try to access that page again.


Elizabeth

November 8, 2017 at 7:47 am

I get this:

Nonce Fail. In order to dynamically generate nonces for your actions, use the EE_Admin_Page::add_query_args_and_nonce() method. May the Nonce be with you!


Elizabeth

November 8, 2017 at 7:51 am

I reset capabilities and got same error


Josh

  • Support Staff

November 8, 2017 at 8:22 am

Can you do this instead? Go to Event Espresso > Pricing. View the table there. Is there a Base Price price type listed there?


Elizabeth

November 8, 2017 at 8:50 am

Base price is in Trash


Elizabeth

November 8, 2017 at 8:52 am

I take that back.

There is: Name – Free Admission and Price Type – Base Price


Elizabeth

November 8, 2017 at 8:56 am

If I click Price Types, there is not a Base Price option listed.


Josh

  • Support Staff

November 8, 2017 at 8:57 am

You’ll need to restore the base price from the trash.


Elizabeth

November 8, 2017 at 9:00 am

It won’t let me. There is not a check box to the left of it to click on to then click restore.


Josh

  • Support Staff

November 8, 2017 at 9:23 am

It’d be great if you can find out how they managed to delete these in the first place. Even if they can’t remember, if you can send full access to the site by completing the secure on this page:

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

then someone from Event Espresso support staff can go in and restore the missing default base price.


Elizabeth

November 8, 2017 at 9:26 am

She said she has no clue.

I completed the form.


Josh

  • Support Staff

November 8, 2017 at 9:34 am

Hi Dorian,

You actually did not complete the form because the part that asks for FTP credentials wasn’t filled out. We’ll need to access the database and without FTP access that’s a risky proposition. Please complete the form 100% and we can investigate further.


Elizabeth

November 8, 2017 at 9:42 am

I redid it.


Josh

  • Support Staff

November 8, 2017 at 9:59 am

Can you check with them to see if they still get that error and if they do, what’s the event ID of the event they tried adding?


Elizabeth

November 8, 2017 at 12:44 pm

She said it seems to be working now. Thanks


Elizabeth

November 9, 2017 at 6:58 am

hold on…..

Just added an event for 12.9 and got this

Notice: Trying to get property of non-object in /home/mastergv/public_html/wp-includes/class-wp-query.php on line 2914

Notice: Trying to get property of non-object in /home/mastergv/public_html/wp-includes/class-wp-query.php on line 2920

Notice: Trying to get property of non-object in /home/mastergv/public_html/wp-includes/class-wp-query.php on line 2929

Warning: Cannot modify header information – headers already sent by (output started at /home/mastergv/public_html/wp-includes/class-wp-query.php:2914) in /home/mastergv/public_html/wp-includes/pluggable.phpon line 1210


Josh

  • Support Staff

November 9, 2017 at 8:21 am

Hi Dorian,

Those are PHP notices + one PHP warning and may be from your theme or another plugin. Since that’s a production site you should keep WP_DEBUG set to false.


Elizabeth

November 9, 2017 at 8:39 am

It set it back to false.

We have the same themes and plugins on all of the sites. No other site has an issue.


Elizabeth

November 9, 2017 at 8:43 am

Not sure how it got to TRUE, but now I’m sure that was the issue.

Having her test again. Thanks

Viewing 22 reply threads

The support post ‘EE4 Error when adding a registration from backend’ 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