It looks like the issue is coming from OP Cache, as we're seeing the following error log:
Thu Jul 13 14:00:54 2023 (20410): Fatal Error opcache.file_cache_only is set without a proper setting of opcache.file_cache
I've done a bit of research into this and want to explain what the two flagged settings are referring to:
opcache.file_cache_only: This setting is like a switch. When you turn it on (set to 1), PHP will only use files to store OPcache data. But when it's off (set to 0), PHP can use another faster method which is to store the data in memory (RAM).
opcache.file_cache: When the switch above is on, PHP needs to know where to store those files. This setting tells PHP which folder to use for storing these files.
Your error is saying you've turned the switch on, but you haven't told PHP where to put the files. You can fix it by either turning the switch off, or by specifying a folder where PHP can store the files.
I haven't ever done this myself, but my understanding is that the steps below should help you get this working again. I would strongly recommend backing up your files before acting on any of these steps.
Access your files using an SFTP client (such as Filezilla) and the SFTP details located within the Ezoic dashboard, under Settings > Hosting > Manage Credentials.
Locate the php.ini file. The location of this file can vary, but common locations are /etc/php/[version]/cli/php.ini or /etc/php.ini.
If you want to keep "opcache.file_cache_only" enabled, then you will need to modify the "opcache.file_cache" setting to match below (where "/directory/path" is the directory you want to save your files):
opcache.file_cache=/directory/path
- If you don't want to have "opcache.file_cache_only" enabled, you need to modify the "opcache.file_cache_only" setting to match the below:
opcache.file_cache_only=0
- Save the file.
This should resolve the issue that you're experiencing, though it may take a few minutes for the change to be detected. Let me know once you've done so and I can confirm this for you. 🙂
-Lilla