Replies: 0
on
includes/shortcodes.php
on add_shortcode
function I’ve encountered ‘illegal offset type’ notice since for some reason $tag
was an array and not a string.
You need to add this after is_callable
if ( is_array( $tag ) ) {
$tag = $tag[0];
}
-
This topic was modified 2 minutes ago by
Binternet.