Call to undefined function Statamic\Imaging\simplexml_load_file() #8633
-
In both my local setup (a docker container) and our production server (a docker container running as an Azure App Service) I am randomly getting this error when I try various asset actions in the control panel. Usually the action (e.g. deleting) does occur successfully but I can't see this until later when it rights itself.
Most recently this appeared when simply trying to view the assets in the control panel, but more often appears when trying to delete an asset. It tends to go away when rebooting. I have two containers - "system" and "media". The error occurs intermittently on both containers and in both environments. The media container is mounted under /var/www/localhost to allow for an Azure storage drive to be mounted there. In development it is mounted in the same spot as a Docker volume.
Doe anyone have a suggestion as to what might be causing this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You don't have the php module simplexml installed. Maybe you can add this in your docker config. |
Beta Was this translation helpful? Give feedback.
You don't have the php module simplexml installed. Maybe you can add this in your docker config.