• Resolved chenryahts

    (@chenryahts)


    Hi,

    I’m getting a 500 error that seems to go back to these (2?) SQL queries from Rich-Web-Slider-Widget.php file. Here are the debug logs:

    [08-Jul-2021 18:51:00 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '= ''' at line 1 for query SELECT * FROM wp_ WHERE  = ''  made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/thistheme/page.php'), get_template_part, locate_template, load_template, require('/themes/thistheme/templates/content-page.php'), the_content, apply_filters('the_content'), WP_Hook->apply_filters, do_shortcode, preg_replace_callback, do_shortcode_tag, Rich_Web_Slider_ID, Rich_Web_Draw_Short_Slider, Rich_Web_Photo_Slider->widget
    
    [08-Jul-2021 18:51:00 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '= ''' at line 1 for query SELECT * FROM wp__Loader WHERE  = '' made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/thistheme/page.php'), get_template_part, locate_template, load_template, require('/themes/thistheme/templates/content-page.php'), the_content, apply_filters('the_content'), WP_Hook->apply_filters, do_shortcode, preg_replace_callback, do_shortcode_tag, Rich_Web_Slider_ID, Rich_Web_Draw_Short_Slider, Rich_Web_Photo_Slider->widget

    Help? It seems $query_array[0] is blank, and maybe that’s why it 500’d?

    Thanks for any help you can provide.

    • This topic was modified 3 years, 4 months ago by chenryahts. Reason: clarification
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter chenryahts

    (@chenryahts)

    Did one of the updates delete all the photos from the one matching [Rich_Web_Slider id=”1″]?

    In the admin menu, it says it has 4 images, but it doesn’t show any from the edit slider page.

    Thread Starter chenryahts

    (@chenryahts)

    If I change the slider ID to one that isn’t acting weird, it works. The problem seems to be that Slider ID #1 got screwed up and doesn’t remember it has 4 images.

    Any idea how I can re-map it to the correct images? Thanks!

    Plugin Author richteam

    (@richteam)

    Dear chenryahts

    Thank you for the topic.

    Can you please tell us which plugin you use?

    Image Slider or Video Slider.

    The shortcode you specified is for Image Slider. And you wrote it on Video Slider.

    Please check and tell us.

    Best, Rich-Web

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘SQL Error?’ is closed to new replies.