I am trying to:
Save an image in an ACF option page.
I expected to see:
The image being saved.
Instead, I got:
Fatal error: Uncaught Error: Cannot use object of type Timber\Image as array in [...]/wp-content/plugins/acfml/classes/strategy/repeater-shuffle/OptionsPage.php:82
If I change `/acfml/classes/strategy/repeater-shuffle/OptionsPage.php:82`
from
`if ( $value instanceof \WP_Post || isset( $value['ID'] ) ) {`
to
`if ( $value instanceof \WP_Post || (is_array( $value ) && isset( $value['ID'] )) ) {`
it then works.
I got this error with ACFML versions 1.10.3 and 1.10.4. It is working with version 1.10.1.
Thank you for contacting WPML support, I'd be happy to help you on this issue.
Can you please let me know steps to reproduce the issue? Then I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to a testing site where the issue is replicated. Your next reply is set to private to share the info.