Getting error trying to create new listing from front end

This topic contains 5 replies, has 3 voices, and was last updated by  Naveen Giri 5 years ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #515420

    Trace Carlson
    Full Member
    Post count: 19

    Having the same issue as in this post:
    https://wpgeodirectory.com/support/topic/wordpress-database-error-table/#post-506436

    The database prefix is not correct.
    …..Table ‘XXXXXXX.wp_terms’ doesn’t exist for query…..

    Is there a fix for this?

    #515423

    Kor
    Moderator
    Post count: 16516

    Hi there,

    Could you please share both WP and FTP access here in private reply so that we could check on it?

    Thanks!

    #515426

    Trace Carlson
    Full Member
    Post count: 19
    This reply has been marked as private.
    #515477

    Naveen Giri
    Moderator
    Post count: 1559

    Hi Trace,

    Thanks for sharing the details.

    please can you mention the steps to reproduce it.
    right now I am accessing the frontend and backend, I haven’t seen the error.

    #515520

    Trace Carlson
    Full Member
    Post count: 19

    Well I just tried and posted twice and it worked today.

    I checked the error logs and still get this error so maybe it was unrelated to whatever wasn’t working yesterday?

    The “xxxxx_wpbel.wp_terms” is not getting the database prefix correctly as it should be looking for “xxxxx_wpbel.wpnh_terms”

    [31-Oct-2019 17:06:36 UTC] WordPress database error Table ‘xxxxx_wpbel.wp_terms’ doesn’t exist for query SELECT t.*, tt.* FROM wp_terms AS t INNER JOIN wpnh_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy = ‘gd_placecategory’ AND tt.parent = 3 made by require(‘wp-blog-header.php’), wp, WP->main, WP->parse_request, do_action_ref_array(‘parse_request’), WP_Hook->do_action, WP_Hook->apply_filters, rest_api_loaded, WP_REST_Server->serve_request, WP_REST_Server->dispatch, GeoDir_REST_Markers_Controller->get_item, GeoDir_REST_Markers_Controller->get_markers, apply_filters(‘geodir_rest_markers_query_where’), WP_Hook->apply_filters, GeoDir_REST_Markers_Controller->set_query_where, geodir_get_term_children

    #515547

    Naveen Giri
    Moderator
    Post count: 1559

    Hi Trace,

    Gd core and add-ons are not upto date on your site.
    please update the plugins and check again.

    You should not have the error.

    Thanks

Viewing 6 posts - 1 through 6 (of 6 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount