• Closed
  • Amanda Phillips
    Spectator
    09.04.2016 at 00:05 #26375

    I am getting an error message whenever I try to edit a page or post. I get this error message:

    WordPress database error Table ‘woodfloors.wordpress_layerslider’ doesn’t exist for query SELECT * FROM wordpress_layerslider
    WHERE flag_hidden = ‘0’ AND flag_deleted = ‘0’
    ORDER BY date_c ASC made by include(‘E:\Domains\w\woodfloors.ie-1080582925\user\htdocs\wordpress\wp-admin\edit-form-advanced.php’), do_meta_boxes, call_user_func, evolve_ThemeFrameworkMetaboxes->evolve_page_options, evolve_ThemeFrameworkMetaboxes->evolve_render_metabox

    Denzel Chia
    Moderator
    Posts: 2656
    09.04.2016 at 08:07 #26387

    Hi,

    Please provide WordPress login access and FTP access in private reply.
    I will fix this for you.

    WordPress login URL
    WordPress username
    WordPress password

    FTP server URL
    FTP server username
    FTP server password

    Thank you

    Amanda Phillips
    Spectator
    Posts: 4
    09.04.2016 at 20:11 #26394
    This reply has been marked as private.
    Denzel Chia
    Moderator
    Posts: 2656
    10.04.2016 at 07:28 #26403

    Hi,

    You did not provide your WordPress password in the above private reply.

    Thank you.

    Amanda Phillips
    Spectator
    Posts: 4
    10.04.2016 at 11:28 #26405
    This reply has been marked as private.
    Denzel Chia
    Moderator
    Posts: 2656
    11.04.2016 at 01:43 #26414
    This reply has been marked as private.
    Amanda Phillips
    Spectator
    Posts: 4
    11.04.2016 at 22:51 #26447
    This reply has been marked as private.
    Denzel Chia
    Moderator
    Posts: 2656
    12.04.2016 at 03:16 #26460

    Hi,

    I am not able to get into your server using the FTP access you provide.
    Something is wrong with it.
    However, I am able to make an edit of your theme file using this plugin.

    WPIDE – File Manager & Code Editor

    Now it’s working properly on your website.

    I had removed the following codes from your basic-functions.php line 1855

    <?php
    global $wpdb;
    $slides_array[0] = __('Select a slider', 'evolve');
    // Table name
    $table_name = $wpdb->prefix . "layerslider";

    // Get sliders
    $sliders = $wpdb->get_results("SELECT * FROM $table_name
    WHERE flag_hidden = '0' AND flag_deleted = '0'
    ORDER BY date_c ASC");

    if (!empty($sliders)):
    foreach ($sliders as $key => $item):
    $slides[$item->id] = '';
    endforeach;
    endif;

    if (isset($slides) && $slides) {
    foreach ($slides as $key => $val) {
    $slides_array[$key] = 'LayerSlider #' . ($key);
    }
    }
    $this->evolve_select('slider', __('Select LayerSlider', 'evolve'), $slides_array, ''
    );
    ?>

    This codes will cause error on some web hosting, if there is no layerslider plugin installed and activated. I will report this bug to my employer.

    Sorry for causing inconveniences.

    Thank you

    Amanda Phillips
    Spectator
    Posts: 4
    13.04.2016 at 00:42 #26468

    Thank you very much for the help

    🙂

    Denzel Chia
    Moderator
    Posts: 2656
    13.04.2016 at 01:43 #26475

    You are welcome!
    Have a nice day!