Posted: 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 |
|
Sorry, I think she said when adding an event from the backend. |
|
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? |
|
I do not see Event Espresso > Events > Default Tickets. I see Overview, Categories, Templates, Default Settings |
|
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. |
|
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! |
|
I reset capabilities and got same error |
|
Can you do this instead? Go to Event Espresso > Pricing. View the table there. Is there a Base Price price type listed there? |
|
Base price is in Trash |
|
I take that back. There is: Name – Free Admission and Price Type – Base Price |
|
If I click Price Types, there is not a Base Price option listed. |
|
You’ll need to restore the base price from the trash. |
|
It won’t let me. There is not a check box to the left of it to click on to then click restore. |
|
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. |
|
She said she has no clue. I completed the form. |
|
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. |
|
I redid it. |
|
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? |
|
She said it seems to be working now. Thanks |
|
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 |
|
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. |
|
It set it back to false. We have the same themes and plugins on all of the sites. No other site has an issue. |
|
Not sure how it got to TRUE, but now I’m sure that was the issue. Having her test again. Thanks |
|
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.