Fatal Error due to conflict with the Events Calendar plugin
-
After updating the Events Calendar plugin to version 5.0, and when viewing a single event, a fatal error occurs due to the conflict with this plugin (formerly called Insert PHP). Below is the error that is being generated. When Woody plugin is deactivated, Events Calendar works fine.
Fatal error: Uncaught ArgumentCountError: Too few arguments to function WINP_Execute_Snippet::executePostSnippets(), 1 passed in /home/enter869/stage/wp-includes/class-wp-hook.php on line 288 and exactly 2 expected in /home/enter869/stage/wp-content/plugins/insert-php/includes/class.execute.snippet.php:75 Stack trace: #0 /home/enter869/stage/wp-includes/class-wp-hook.php(288): WINP_Execute_Snippet->executePostSnippets(Object(WP_Post)) #1 /home/enter869/stage/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters('', Array) #2 /home/enter869/stage/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #3 /home/enter869/stage/wp-content/plugins/the-events-calendar/src/Tribe/Views/V2/Template_Bootstrap.php(130): do_action('the_post', Object(WP_Post)) #4 /home/enter869/stage/wp-content/plugins/the-events-calendar/src/Tribe/Views/V2/Template_Bootstrap.php(216): Tribe\Events\Views\V2\Template_Bootstrap->get_v1_single_event_html() #5 /home/enter869/stage/wp-content/plugins/the-events-calendar/src/views/v2/default-template.ph in /home/enter869/stage/wp-content/plugins/insert-php/includes/class.execute.snippet.php on line 75
Please advise
- The topic ‘Fatal Error due to conflict with the Events Calendar plugin’ is closed to new replies.