Support » Plugin: Contact Form 7 » Bugfix: illegal offset type

  • 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 years, 11 months ago by Binternet.
  • The topic ‘Bugfix: illegal offset type’ is closed to new replies.