• Resolved deonvwe

    (@deonvwe)


    Since upgrading to PHP 8.0/8.1 I get this message on the events page:

    TypeError thrown
    
    end(): Argument #1 ($array) must be of type array, bool given

    All plugins and WordPress are up to date. Please help?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Abz

    (@abzlevelup)

    Hi @deonvwe, PHP 8, is not yet fully compatible with our plugins, but we’re working on it. See the article here: https://theeventscalendar.com/knowledgebase/k/php-8-support/.

    We would also take note of this error you sent and would pass this along to the team as we slowly migrate and support PHP 8 as soon as possible. Thanks for bringing this to our attention.

    Currently, we do not have any workaround for this one. We’d recommend you downgrade to PHP 7.4 — it would be best to use this version, which we fully support.

    Please let us know if you need any additional help and how you would like to proceed.

    Best,
    Abz

    Thread Starter deonvwe

    (@deonvwe)

    Thanks Abz. My host won’t let me downgrade to any version below PHP 8.0, so I’m a bit stuck.

    But I did notice it only gives that error when I’m signed in on WordPress, if I’m signed out everything works fine. Mentioning it in case it helps the team at all.

    Plugin Support Abz

    (@abzlevelup)

    Hi @deonvwe, yikes! That’s not good.

    Thanks for providing more details here. I wonder if you’re using any third-party caching plugin or server-side. ??

    Also, it would be good to test for conflicts. Could you follow the following steps?

    1. Deactivate all other plugins except for The Events Calendar Plugins.
    2. Switching to the Default theme.

    Please read the Testing for Conflicts Article before doing anything.

    To be safe, we’d recommend conducting tests and updates on a Staging Server. Also, please keep a working backup of your website.

    Best,
    Abz

    Plugin Support Abz

    (@abzlevelup)

    This thread has been inactive for a while, so we’ll go ahead and mark it Resolved. Please feel free to open a new thread if any other questions come up, and we’d be happy to help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PHP 8.1’ is closed to new replies.