Hi
Just completed normal update of EE4 and now get this error message and our event table no longer displays. – Page URL in question – https://manaretreat.com/retreats-courses/event-schedule/
Error thrown
[] operator not supported for strings.
[12-Sep-2018 21:13:08 UTC] PHP Warning: Use of undefined constant ticket – assumed ‘ticket’ (this will throw an Error in a future version of PHP) in /home/manaret1/public_html/wp-content/uploads/espresso/templates/ticket_selector_chart.template.php on line 445
The PHP warning is actually originating from the custom code located in your site’s uploads folder. May I ask what’s the contents of that file on and around line 445?
Have changed the line of code as suggested above but still get error on page and ticketing chart dosen’t display.
This file hasn’t been changed or edited since installation and previously worked.
We did update our php to version 7.2 if that is relevant.
I’m happy to send ftp details if useful.
Regarding the error msg on the page:[] operator not supported for strings
I found several instances of [] as per code snippet from the ticket_selector_chart.template.php file.
The code snippet didn’t appear to have anything related to the error, message, but in any case it will best if your developer can update the custom code so it’s ready for PHP 7.2.
Viewing 7 reply threads
The support post ‘Use of undefined constant ticket’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.