PHP 7.3 support?
-
Does the plugin still support PHP 7.3? The plugin page suggests it does but after a new install I get a critical error going to the events page.
After enabling debugging, it looks like it is using array_merge() with no parameters, which was only allowed in PHP 7.4: https://www.php.net/manual/en/function.array-merge.phpHere is the debug error:
Warning: array_merge() expects at least 1 parameter, 0 given in /var/www/vhosts/namastenepal.org.uk/httpdocs/wp-content/plugins/the-events-calendar/src/Events/Custom_Tables/V1/WP_Query/Repository/Custom_Tables_Query_Filters.php on line 467 Warning: implode(): Invalid arguments passed in /var/www/vhosts/namastenepal.org.uk/httpdocs/wp-content/plugins/the-events-calendar/src/Events/Custom_Tables/V1/WP_Query/Repository/Custom_Tables_Query_Filters.php on line 467 Fatal error: Uncaught TypeError: Return value of TEC\Events\Custom_Tables\V1\WP_Query\Repository\Custom_Tables_Query_Filters::deduplicate_joins() must be of the type string, null returned in /var/www/vhosts/namastenepal.org.uk/httpdocs/wp-content/plugins/the-events-calendar/src/Events/Custom_Tables/V1/WP_Query/Repository/Custom_Tables_Query_Filters.php:467 Stack trace: #0 /var/www/vhosts/namastenepal.org.uk/httpdocs/wp-content/plugins/the-events-calendar/src/Events/Custom_Tables/V1/WP_Query/Repository/Custom_Tables_Query_Filters.php(226): TEC\Events\Custom_Tables\V1\WP_Query\Repository\Custom_Tables_Query_Filters->deduplicate_joins(' INNER JOIN wp_...') #1 /var/www/vhosts/namastenepal.org.uk/httpdocs/wp-includes/class-wp-hook.php(308): TEC\Events\Custom_Tables\V1\WP_Query\Repository\Custom_Tables_Query_Filters->filter_posts_join(' INNER JOIN wp_...', Object(TEC\Events\Custom_Tables\V1\WP_Query\Custom_Tables_Query)) #2 /var/www/vhosts/namastenepal.org.uk/httpdocs/wp-includes/plugin.php(256): WP_Hook->apply_filters(' INNER in /var/www/vhosts/namastenepal.org.uk/httpdocs/wp-content/plugins/the-events-calendar/src/Events/Custom_Tables/V1/WP_Query/Repository/Custom_Tables_Query_Filters.php on line 467
The topic ‘PHP 7.3 support?’ is closed to new replies.