Jump to content

Error: Cannot use object of type Pageimage as array


Torsten Baldes
 Share

Recommended Posts

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!

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...