I am getting a fatal error on the page with the RSVP manager shortcode [evo_rsvp_manager] on it:
Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /home/gridcoee/domains/allianceadvisors.com/public_html/wp-content/plugins/eventON/includes/calendar/class-calendar_generator.php:181 Stack trace: #0 /home/gridcoee/domains/allianceadvisors.com/public_html/wp-content/plugins/eventon-rsvp/includes/class-event-manager.php(17): EVO_generator->process_arguments() #1 /home/gridcoee/domains/allianceadvisors.com/public_html/wp-content/plugins/eventon-rsvp/includes/class-shortcode.php(38): evors_event_manager->user_rsvp_manager() #2 /home/gridcoee/domains/allianceadvisors.com/public_html/wp-includes/shortcodes.php(433): evo_rs_shortcode->user_rsvp_manager() #3 [internal function]: do_shortcode_tag() #4 /home/gridcoee/domains/allianceadvisors.com/public_html/wp-includes/shortcodes.php(273): preg_replace_callback() #5 /home/gridcoee/domains/allianceadvisors.com/public_html/wp-content/plugins/total-theme-core/inc/vcex/templates/vcex_shortcode.php(35): do_shortcode() #6 /home/gridcoee/domains/allianceadvisors.com/public_html/wp-content/plugins/total-theme-core/inc/vcex/shortcode-abstract.php(157): include('...') #7 /home/gridcoee/domains/allianceadvisors.com/public_html/wp-includes/shortcodes.php(433): TotalThemeCoreVcexShortcode_Abstract::output() #8 [internal function]: do_shortcode_tag() #9 /home/gridcoee/domains/allianceadvisors.com/public_html/wp-includes/shortcodes.php(273): preg_replace_callback() #10 /home/gridcoee/domains/allianceadvisors.com/public_html/wp-content/plugins/js_composer/include/helpers/helpers.php(318): do_shortcode() #11 /home/gridcoee/domains/allianceadvisors.com/public_html/wp-content/themes/Total/vc_templates/vc_column.php(94): wpb_js_remove_wpautop() #12 /home/gridcoee/domains/allianceadvisors.com/public_html/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(457): require('...') #13 /home/gridcoee/domains/allianceadvisors.com/public_html/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(430): WPBakeryShortCode->loadTemplate() #14 /home/gridcoee/domains/allianceadvisors.com/public_html/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(552): WPBakeryShortCode->content() #15 /home/gridcoee/domains/allianceadvisors.com/public_html/wp-content/plugins/js_composer/include/helpers/helpers.php(1371): WPBakeryShortCode->output() #16 /home/gridcoee/domains/allianceadvisors.com/public_html/wp-includes/shortcodes.php(433): vc_do_shortcode() #17 [internal function]: do_shortcode_tag() #18 /home/gridcoee/domains/allianceadvisors.com/public_html/wp-includes/shortcodes.php(273): preg_replace_callback() #19 /home/gridcoee/domains/allianceadvisors.com/public_html/wp-content/plugins/js_composer/include/helpers/helpers.php(318): do_shortcode() #20 /home/gridcoee/domains/allianceadvisors.com/public_html/wp-content/themes/Total/vc_templates/vc_row.php(170): wpb_js_remove_wpautop() #21 /home/gridcoee/domains/allianceadvisors.com/public_html/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(457): require('...') #22 /home/gridcoee/domains/allianceadvisors.com/public_html/wp-content/plugins/js_composer/include/classes/shortcodes/vc-row.php(40): WPBakeryShortCode->loadTemplate() #23 /home/gridcoee/domains/allianceadvisors.com/public_html/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(552): WPBakeryShortCode_Vc_Row->content() #24 /home/gridcoee/domains/allianceadvisors.com/public_html/wp-content/plugins/js_composer/include/helpers/helpers.php(1371): WPBakeryShortCode->output() #25 /home/gridcoee/domains/allianceadvisors.com/public_html/wp-includes/shortcodes.php(433): vc_do_shortcode() #26 [internal function]: do_shortcode_tag() #27 /home/gridcoee/domains/allianceadvisors.com/public_html/wp-includes/shortcodes.php(273): preg_replace_callback() #28 /home/gridcoee/domains/allianceadvisors.com/public_html/wp-includes/class-wp-hook.php(324): do_shortcode() #29 /home/gridcoee/domains/allianceadvisors.com/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters() #30 /home/gridcoee/domains/allianceadvisors.com/public_html/wp-includes/post-template.php(256): apply_filters() #31 /home/gridcoee/domains/allianceadvisors.com/public_html/wp-content/themes/Total/partials/page-single-content.php(14): the_content() #32 /home/gridcoee/domains/allianceadvisors.com/public_html/wp-includes/template.php(792): require('...') #33 /home/gridcoee/domains/allianceadvisors.com/public_html/wp-includes/template.php(725): load_template() #34 /home/gridcoee/domains/allianceadvisors.com/public_html/wp-includes/general-template.php(206): locate_template() #35 /home/gridcoee/domains/allianceadvisors.com/public_html/wp-content/themes/Total/inc/page/single-blocks.php(123): get_template_part() #36 /home/gridcoee/domains/allianceadvisors.com/public_html/wp-content/themes/Total/partials/page-single-layout.php(32): TotalThemePageSingle_Blocks::render() #37 /home/gridcoee/domains/allianceadvisors.com/public_html/wp-includes/template.php(792): require('...') #38 /home/gridcoee/domains/allianceadvisors.com/public_html/wp-includes/template.php(725): load_template() #39 /home/gridcoee/domains/allianceadvisors.com/public_html/wp-includes/general-template.php(206): locate_template() #40 /home/gridcoee/domains/allianceadvisors.com/public_html/wp-content/themes/Total/inc/functions/template-parts.php(129): get_template_part() #41 /home/gridcoee/domains/allianceadvisors.com/public_html/wp-content/themes/Total/page.php(33): wpex_get_template_part() #42 /home/gridcoee/domains/allianceadvisors.com/public_html/wp-includes/template-loader.php(106): include('...') #43 /home/gridcoee/domains/allianceadvisors.com/public_html/wp-blog-header.php(19): require_once('...') #44 /home/gridcoee/domains/allianceadvisors.com/public_html/index.php(17): require('...') #45 {main} thrown in /home/gridcoee/domains/allianceadvisors.com/public_html/wp-content/plugins/eventON/includes/calendar/class-calendar_generator.php on line 181
- Apr 2,2024 AT 4:49AM - 2 years agoHello,
There is some kind of incompatibility with WPBakery Page Builder, I think.
I am sorry, the access information you have provided did not work for us. Please check them and post the correct login information as a private message, thank you!
Also did you customize any of EventON templates?
That’s so strange! There have been some automatic updates so it’s obviously fixed the issue.
I thought this allowed the organiser to check-in all guests from the front end instead of through the admin area, not just manage my own RSVPs.
Is it possible to do this?
I’m having this issue too but it’s only affecting our production/staging server, not my local development environment. My logs say it’s happening on line 199 of the class-calendar_generator file, not 181 like grid24’s.
Uncaught TypeError: Cannot access offset of type string on string in /nas/content/live/testeventusta/wp-content/plugins/eventON/includes/calendar/class-calendar_generator.php:199
Just using the [evo_rsvp_manager] shortcode with no arguments on the latest versions of the EventON and RSVP Events plugins.
The process_arguments function is expecting an array for $args (as mentioned in the line with if(is_array($args) ) but on our production/staging server, an empty string is passed to it (which seems to be because the default value for $args is an empty string?), which is causing the error ($args[‘evc_open’] can’t exist if a string is passed in). Any idea why it is doing that? And any idea why it works on one environment but not another? Both my local environment and our servers are using the same systems (WP, PHP, EventON plugin verisons, classic editor) and the same content and code, so I’m completely baffled!
Hello Carley Hollis,
Could you create a new ticket with included login info, so I can assign it to Ashan? We will look into the issue and send you a fix.