Tagged: Accordion
Hi I’m having problem with the accordion slider in this homepage: http://blog.maxitracce.it. Msg errors are:
Notice: Undefined property: stdClass::$ID in /home/maxitrac/blog/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_accordion.php on line 564
Notice: Undefined property: stdClass::$ID in /home/maxitrac/blog/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_accordion.php on line 573
Notice: Undefined property: stdClass::$ID in /home/maxitrac/blog/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_accordion.php on line 574
can you help me (urgent, because the web site is live…). I provide full admin access….
Hey!
Try adding this line to the theme functions.php or wp-config.php file:
error_reporting(E_ALL ^ E_NOTICE);
Cheers!
Josue
I added this line to these files:
/wp-content/themes/enfold/functions-enfold.php
/wp-content/themes/enfold/functions.php
/wp-config.php
See screenshots
Note that I’m using a child theme of Enfold (folder is called “enfold-child”)
nothing changed :(
Hi!
Ask your hosting support to turn off the display_errors setting in the php.ini file.
Best regards,
Josue
Hi Josue, any idea? Any good news?
Hi!
To fix the warning open up wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_accordion.php and replace:
$this->slides[$key]->av_target = empty($slide['attr']['link_target']) ? "" : "target='".$slide['attr']['link_target']."'" ;
with
$this->slides[$key]->av_target = empty($slide['attr']['link_target']) ? "" : "target='".$slide['attr']['link_target']."'" ;
$this->slides[$key]->ID = $slide['attr']['id'];
We’ll also fix it with the next update.
Cheers!
Peter
thank you Dude. It works now :)
I’m not entering in a world of pain (walter sobchak)… :D