[FEATURE] If condition & URL output (& PHP notices error)
-
Hi,
It all works fine after the last update.
But I do get an error when using an image ACF field_key in the HTML before & after fields.
It happens when image is set to display URL and when set to display ID.With image field set to URL it throws this error:
Notice: Undefined index: save_format in /HTML/wp-content/plugins/acf-recent-posts-widget/classes/helpers.php on line 16 Notice: Undefined index: save_format in /HTML/wp-content/plugins/acf-recent-posts-widget/classes/helpers.php on line 18 Notice: Trying to get property of non-object in /HTML/wp-includes/media.php on line 745 Notice: Trying to get property of non-object in /HTML/wp-includes/media.php on line 747
and when image is set to show ID I get this error (notice):
Notice: Undefined index: save_format in /HTML/wp-content/plugins/acf-recent-posts-widget/classes/helpers.php on line 16 Notice: Undefined index: save_format in /HTML/wp-content/plugins/acf-recent-posts-widget/classes/helpers.php on line 18
I have to add that it does work fine, so if I turn WP_Debug off, it will all work nicely.
Just to let you know!
Cheers.
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘[FEATURE] If condition & URL output (& PHP notices error)’ is closed to new replies.