Custom icons: Array to string conversion on line 355
-
Long-time user, love this plugin!
I’m running into an issue when trying to output custom icons. I can get them to display, but I also get a PHP warning:
Warning: Array to string conversion in /srv/…/plugins/advanced-custom-fields-font-awesome/fields/acf-font-awesome-v6.php on line 355
- This happens even if all I do is store the field as a variable, not even output it (
$icon = get_field('fa');
) - Works totally fine with regular icons and brands. Only custom kit icons cause the error.
- Only an issue with Icon Object output, other return values are fine.
- Works in PHP 7.4, becomes a problem in 8.0 and above.
- Current on WP and plugins, deactivated everything else in case of conflicts.
- Running Classic Editor.
- This happens even if all I do is store the field as a variable, not even output it (
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- You must be logged in to reply to this topic.