Tagged: error
Hi,
Do you have any idea, why I got those errors on my website after updating to 4.8.7.1 ?
Also my Publications page seem to disappeared.
Error Details
=============
An error of type E_ERROR was caused in line 1007 of the file /home/public_html/wp-content/themes/enfold-child/shortcodes/postslider/postslider.php. Error message: Uncaught Error: Call to undefined method AviaHelper::add_date_query() in /home/public_html/wp-content/themes/enfold-child/shortcodes/postslider/postslider.php:1007
Stack trace:
#0 /home/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/blog/blog.php(617): avia_post_slider->query_entries()
#1 /home/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-template.php(1123): avia_sc_blog->shortcode_handler(Array, ”, ‘av_blog’, Array)
#2 /home/public_html/wp-includes/shortcodes.php(356): aviaShortcodeTemplate->shortcode_handler_prepare(Array, ”, ‘av_blog’)
#3 [internal function]: do_shortcode_tag(Array)
#4 /home/public_html/wp-includes/shortcodes.php(228): preg_replace_callback(‘/\\[(\\[?)(av_blo…’, ‘do_shortcode_ta…’, ‘[av_heading …’)
#5 /home/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcod
Fixed it. the postslider template seems to be changed but the one I modified and put in the child theme was overwriting the new one.
Brought my changes to the new one from main theme and everything works again.