Support

Home Forums Event Espresso Premium Bulk Toggle Checkin error

Bulk Toggle Checkin error

Posted: September 11, 2024 at 8:45 am

Viewing 18 reply threads


subotai

September 11, 2024 at 8:45 am

Hi,

Since last update, we can’t use the Bulk Toggle Checkin functionnality.
It throws this error :
____________
[10-Sep-2024 12:37:15 UTC] PHP Fatal error: Uncaught TypeError: Argument 2 passed to Extend_Registrations_Admin_Page::_toggle_checkin() must be of the type int, null given, called in /path_to_website/wp-content/plugins/event-espresso-core-reg/caffeinated/admin/extend/registrations/Extend_Registrations_Admin_Page.core.php on line 962 and defined in /path_to_website/wp-content/plugins/event-espresso-core-reg/caffeinated/admin/extend/registrations/Extend_Registrations_Admin_Page.core.php:993
Stack trace:
#0 /path_to_website/wp-content/plugins/event-espresso-core-reg/caffeinated/admin/extend/registrations/Extend_Registrations_Admin_Page.core.php(962): Extend_Registrations_Admin_Page->_toggle_checkin(4271, NULL)
#1 /path_to_website/moveo.ser-diabete-idf.org/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page.core.php(1161): Extend_Registrations_Admin_Page->_toggle_checkin_status()
#2 /path_to_website/wp-conten in /path_to_website/wp-content/plugins/event-espresso-core-reg/caffeinated/admin/extend/registrations/Extend_Registrations_Admin_Page.core.php on line 993
____________

It looks like the parameters DTT_ID is missing in the form…

Any other ideas ?

thanks


subotai

September 11, 2024 at 8:56 am

Here is the list of the used plugins and their version :

Event Espresso | 5.0.26.p
Event Espresso – Attendee Mover (EE4.9.13+) | 1.0.7.p
Event Espresso – Automated Upcoming Event Notification (EE 4.9.44+) | 1.0.7.p
Event Espresso – Events Table View Template (EE 4.4.9+) | 1.3.9.p
Event Espresso – Grid View Template (EE 4.4.9+) | 1.2.4.p
Event Espresso – Importer (EE 4.10.0+) | 1.0.4.p
Event Espresso – Wait Lists (EE4.9+) | 1.0.4.p
Event Espresso – WordPress Users Integration (EE4.6+) | 2.1.2.p


Tony

  • Support Staff

September 12, 2024 at 4:55 am

Hi there,

I can reproduce this and have created a ticket for our developers to fix.

However, there are a few different methods to getting to the check-ins section and that’s going to make a difference on this, can you list the steps you’re taking to get to the above, please?


subotai

September 17, 2024 at 2:29 am

Hi.
Today I can’t even see the bulk actions selector in the checkins list table…
I don’t know if you had done something yet ?

The steps are very simple :

Choose the event, go to registrations, go to checkins, select all checkin, choose “toggle checkin” in bulk action, click action button => 500 Error.

If I choose to toggle checkin status one by one, it works.

Can you get back to me with a solving delay for this problem ?

thanks


Tony

  • Support Staff

September 18, 2024 at 10:29 am

Hi there,

My apologies for the delayed reply, working out what was happening here took some tracking down.

Today I can’t even see the bulk actions selector in the checkins list table…

This part of your request confused my originally because on the latest versions I can’t get the bulk options to show by default (the reason why relates to why your getting the error) I needed to add a value to the query string for them to show and then reproduce the issue.

So I assumed you had the URL’s saved and used those, but seems not.

I don’t know if you had done something yet ?

No, I’ve not made any changes to your site.

We don’t change any files without having FTP/File Access (we won’t use the built-in WP file editor) and the reason being is if there are any mistakes or the code change conflicts with something else when we save, it will throw a fatal and we then can’t fix it unless we have file access outside of the WP admin.

If you can send over FTP credentials I have a patch which should fix this for you, you can resubmit those using the form you used previously.


subotai

September 30, 2024 at 7:00 am

Hi,

Sorry for the delay of my answer. I did not received any notification of your answer.

Anyway, of course I have FTP access to the server where the WordPress is installed.
I’ll send them right now.

thanks
Regards


Tony

  • Support Staff

October 1, 2024 at 5:45 am

Hi there,

I’ve applied a patch to the version of Event Espresso your site is currently running and it now shows the bulk options.

Can you confirm it now works as expected for you, please?


subotai

October 4, 2024 at 2:53 am

This reply has been marked as private.


Tony

  • Support Staff

October 4, 2024 at 6:43 am

Hi there,

I’m not getting any errors when testing this on your site.

What steps are you taking?

When we click the global bulk checkbox, nothing appends…

This one? https://monosnap.com/file/XF1U5aMaqDEj0wPTlgdMSu3SirrtMU

Sorry, I need more specific details here as the screenshot doesn’t show how to reproduce and so far its working as expected for me.


subotai

October 4, 2024 at 8:09 am

This reply has been marked as private.


Tony

  • Support Staff

October 4, 2024 at 10:23 am

This reply has been marked as private.


subotai

October 7, 2024 at 2:11 am

This reply has been marked as private.


Tony

  • Support Staff

October 7, 2024 at 4:52 am

Strange!

We’ve taken another route with the fix in the next update to Event Espresso and we’ll be pushing that live within the next 24 hours.

I can install that version on the site if you’d like to test it, or just wait for the next update?


subotai

October 7, 2024 at 8:50 am

This reply has been marked as private.


Tony

  • Support Staff

October 8, 2024 at 7:35 pm

The latest updated (inluding a fix for this) has now been pushed live.

If you don’t see that version available just yet go to Dashboard -> Event Espresso -> General Settings.

Make no changes and just hit save to force an update check.

With regards to those errors.

The deprecated notices in the waitlist add-on we have a fix for and will push an update.

The Fatal being thrown is from the translation files in use on the site, however I can’t reproduce that using our files.

Are you using custom translations?


subotai

October 8, 2024 at 11:57 pm

This reply has been marked as private.


Tony

  • Support Staff

October 9, 2024 at 6:00 am

Looks like this is from the Fatal error you mentioned previously, its throwing a fatal when the Newsletter section is parsed which then breaks the scripts loading on the page.

The fatal is from your translations within Loco Translate.

Within Loco -> Event Espresso you have 2 translation files:

https://monosnap.com/file/FunFFDpEvQSvWbgR70N9rVMuvSxDi6

Are those custom translations?

In any case the Système version has an invalid translation causing this:

https://monosnap.com/file/70bEEW6GzaV8MoTwe8e5JfY61jq2oK

%1$ isn’t valid there, it needs s at the end, so %1$s.

Fixing that translation should fix the newsletter issue and the checkbox issue.

I don’t use Loco Translate often, may I ask why you have multiple translation file within that for EE? Just curious on how this is set up.


subotai

October 10, 2024 at 1:50 am

Hi Tony,

Seems to work perfectly after fixing the translation problem.
I never thought that the problem could come from there.
I’ll get back to my client and see how it goes.

However, thank you very much for the time spent on this problem.


Tony

  • Support Staff

October 10, 2024 at 5:31 am

It’s because of the specific location that error is thrown, it’s in the footer and prevents some scripts from loading even though the page looks like it’s loaded correctly.

Any further issues just let us know.

Viewing 18 reply threads

The support post ‘Bulk Toggle Checkin 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.

Event Espresso