You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to delete or move one or several images (via checkboxes or dot dropdown option) I got an error foreach () argument must be of type array object, string given.
Likely related to #7555, this does not seem an edge case however.
When trying bulk deletion with checkboxes the first image is deleted though. Same when delting a single assets. Reloading the list shows it is gone.
How to reproduce
Navigate to Assets and delete assets from an assets list. Or click on nav option "move" to move assets to another folder
Logs
No response
Environment
Existing Statamic multisite, updated from 3.4 to 4.0, MacOS Ventura, DDEV.
Installation
Fresh statamic/statamic site via CLI
Antlers Parser
runtime (new)
Additional details
No response
The text was updated successfully, but these errors were encountered:
I don´t get the same message as you @geertjanknapen1 , but the action (renaming, deleting) is done nevertheless on one file. CP is updated with new filename after reload.
jasonvarga
changed the title
Error when deleting assets in 4.0 "foreach () argument must be of type array object, string given"
Error when deleting assets "foreach () argument must be of type array object, string given"
May 26, 2023
Bug description
When trying to delete or move one or several images (via checkboxes or dot dropdown option) I got an error
foreach () argument must be of type array object, string given
.Likely related to #7555, this does not seem an edge case however.
When trying bulk deletion with checkboxes the first image is deleted though. Same when delting a single assets. Reloading the list shows it is gone.
How to reproduce
Navigate to Assets and delete assets from an assets list. Or click on nav option "move" to move assets to another folder
Logs
No response
Environment
Existing Statamic multisite, updated from 3.4 to 4.0, MacOS Ventura, DDEV.
Installation
Fresh statamic/statamic site via CLI
Antlers Parser
runtime (new)
Additional details
No response
The text was updated successfully, but these errors were encountered: