Title: PHP 8.1
Last modified: December 5, 2022

---

# PHP 8.1

 *  Resolved [deonvwe](https://wordpress.org/support/users/deonvwe/)
 * (@deonvwe)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/php-8-1-26/)
 * 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-8-1-26%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [WilloftheD](https://wordpress.org/support/users/abzlevelup/)
 * (@abzlevelup)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/php-8-1-26/#post-16267623)
 * Hi [@deonvwe](https://wordpress.org/support/users/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/](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](https://wordpress.org/support/users/deonvwe/)
 * (@deonvwe)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/php-8-1-26/#post-16268569)
 * 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 [WilloftheD](https://wordpress.org/support/users/abzlevelup/)
 * (@abzlevelup)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/php-8-1-26/#post-16275066)
 * Hi [@deonvwe](https://wordpress.org/support/users/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](https://codex.wordpress.org/WordPress_Default_Themes).
 * Please read the [Testing for Conflicts Article](https://theeventscalendar.com/knowledgebase/k/testing-for-conflicts/)
   before doing anything.
 * To be safe, we’d recommend conducting tests and updates on a [Staging Server](https://theeventscalendar.com/knowledgebase/k/creating-and-using-a-wordpress-staging-site/).
   Also, please keep a working backup of your website.
 * Best,
    Abz
 *  Plugin Support [WilloftheD](https://wordpress.org/support/users/abzlevelup/)
 * (@abzlevelup)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/php-8-1-26/#post-16348545)
 * 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.

 * ![](https://ps.w.org/the-events-calendar/assets/icon-256x256.gif?rev=2516440)
 * [The Events Calendar](https://wordpress.org/plugins/the-events-calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/the-events-calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/the-events-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/the-events-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/the-events-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/the-events-calendar/reviews/)

## Tags

 * [events](https://wordpress.org/support/topic-tag/events/)

 * 4 replies
 * 2 participants
 * Last reply from: [WilloftheD](https://wordpress.org/support/users/abzlevelup/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/php-8-1-26/#post-16348545)
 * Status: resolved