Torsten Baldes Posted October 14, 2015 Posted October 14, 2015 hi, i'm going crazy right now and need your help. i'm working on a site and all went smooth, when suddenly my pagetree doesn't load anymore. the error log shows this error: Error: Cannot use object of type Pageimage as array (line 295 of /Users/site/modules/FieldtypeImageFocusArea/FieldtypeImageFocusArea.module) 295 is this line: https://github.com/phlppschrr/ImageFocusArea/blob/master/FieldtypeImageFocusArea.module#L295 i used ImageFocusArea the last weeks without problems but now i'm getting this error. if i try to modify the function to check if $v is an array the error is gone, but then i can't save any images anymore. i don't know what i or something else changed to get this error. my current Processwire version is: 2.6.19 dev were there any updates which changed the behaviour? thanks!
Torsten Baldes Posted October 14, 2015 Author Posted October 14, 2015 ehm, ok, i found the culprit. it was me respectively me adding this image field to a fieldcache field, which i intended to use for search. so please ignore my incompetence and close this thread.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now