Hi Guys,
Im getting this error on the top above my slideshows in the portfolio section:
Warning: trim() expects parameter 1 to be string, array given in /home/gekkosho/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow.php on line 443
Please try following fix – open up wp-contentthemesenfoldconfig-templatebuilderavia-shortcodesslideshow.php and replace
if(trim($content) != "") $content = "<div class='avia-caption-content'>".wpautop(ShortcodeHelper::avia_remove_autop(trim($content)))."</div>";
with
if(!is_string($content)) $content = (string)$content;
if(trim($content) != "") $content = "<div class='avia-caption-content'>".wpautop(ShortcodeHelper::avia_remove_autop(trim($content)))."</div>";
This worked, thank you!
Hi!
Great – maybe this thread will help you too: https://kriesi.at/support/topic/warning-message-2
Best regards,
Peter