PHP 8.3 Cache breaks site when using API
-
Hello Everyone,
We are using the newest version of WordPress and the W3 Total Cache Plugin. Some days ago we had to update to php 8.3 with the website and a forum (woltlab burning board version 6.0)
i have added some code in the wordpress theme funcitons.php that simply doing a “require_once /some/static/path/forenapi.php”. Since the php update, the cached site is not loading correctly. (when i`m logged in its all correct, because the cache is disabled). The site breaks on the blog page after the title of the first post, but there is no php error or something else. This is just before the api code will add some comment count from the forum. Even if i dont do anything and delete all the code in my function, just the “require_once” will break the site if its cached.
I found out it only occurs in “Page Cache Disk Enhanced” mode, not in Basic Mode.
I don’t know what to do anymore. The debug mode from the page cache modul only tells me if the site is cached or not. Do you have any tips? Thank you very much!
- You must be logged in to reply to this topic.