• Resolved paulxb

    (@paulxb)


    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.php

    Here 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

    • This topic was modified 3 years, 7 months ago by paulxb.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Hey @paulxb

    Thank you for reaching out.
    Our apologies for that critical error.

    We have a fix going out next week that should solve this issue.
    Stay tuned as we’ll report back here once the update is out.

    Cheers,
    Geoff

    Thread Starter paulxb

    (@paulxb)

    Thanks for the prompt response!

    Gladys

    (@greventscalendar)

    Hi @paulxb ,

    With our latest release of The Events Calendar 6.0.4, we resolved an issue that caused errors with PHP 7.3. Please be sure to review our full Release Notes for more details and update your plugin whenever you get a chance.

    As always, we suggest testing updates on a staging site first and having a recent backup, but it should all be smooth sailing. If you implemented any workarounds, you can remove them after updating the plugins.

    If you still have issues after updating to the latest releases, please open a new support thread and include any specific details and screenshots if possible.

    Have a great day,
    Gladys

    Plugin Support WilloftheD

    (@abzlevelup)

    Hi @paulxb,

    We haven’t heard from you in a while, so I’m going to mark this as resolved. Feel free to start a new thread if you have any more questions.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘PHP 7.3 support?’ is closed to new replies.