I tried to add a the function
get_image_credits();on a post, but I got this message:
Fatal error: Call to undefined function get_image_credits() in /…/wp-content/themes/…/content-meta.php on line 9
Later I tried
do_shortcode('[image-credits]')and it worked, but I got this error message as well:
Warning: Wrong parameter count for in_array() in /…/wp-content/plugins/image-credits/plugin.php on line 137
Does anyone have an idea to fix this?
- The topic ‘Error on function or do_shortcode’ is closed to new replies.