• Todd

    (@toddneufeld)


    I love Global Content Blocks! One of my sites I’m having a weird problem. It works okay when I call the block’s number, like [contentblock id=35], but it throws this error when calling the same one via its custom name, like [contentblock id=footertext]:

    Warning: strlen() expects parameter 1 to be string, array given in /wp-content/plugins/global-content-blocks/gcb/gcb.class.php on line 36

    I really don’t want to go through all of my pages and replace the code with the number — is there an easy fix for this?

    Thanks in advance!

    -Todd

  • The topic ‘PHP error when using Custom Shortcode String’ is closed to new replies.