Not showing tours when logged in

CityTours - Hotel & Tour Booking WordPress Theme CityTours - Hotel & Tour Booking WordPress Theme September 26, 2019
Login to reply
Bashi Achuki
2 years ago

Thanks for the reply!

Kelly R Support Agent
2 years ago


Please confirm you did not change any theme files and ct-booking plugin files.

And please remove all the cache plugins and try again.

I can see there are some codes are not from CityTours theme.

And your support license was expired. Please extend it to get our support.

Regards, C-Themes

Bashi Achuki
2 years ago

Here's link:

When opening with incognito or not logged in, everything works fine but when visiting this link while logged in in wordpress, here is how it looks like:

[26-Sep-2019 09:07:00 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-sync-status AS t1  

     INNER JOIN wp_posts post_s1 ON (t1.tour_id = post_s1.' at line 1 for query SELECT tt.term_id as tour_type, COUNT(*) AS counts FROM Searchcache-sync-status AS t1

     INNER JOIN wp_posts post_s1 ON (t1.tour_id = post_s1.ID) AND (post_s1.post_status = 'publish') AND (post_s1.post_type = 'tour')

     INNER JOIN wp_term_relationships AS tr ON tr.object_id = t1.tour_id

     INNER JOIN wp_term_taxonomy AS tt ON tt.term_taxonomy_id = tr.term_taxonomy_id WHERE 1=1 AND tt.taxonomy = 'tour_type' GROUP BY tt.term_id made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/citytours/archive-tour.php'), ct_tour_get_search_result_count

[26-Sep-2019 10:09:18 UTC] PHP Fatal error: Uncaught Error: Call to undefined function ct_is_tour_enabled() in /home/transfer/public_html/domains/

Stack trace:

#0 /home/transfer/public_html/domains/ CTShortcodes->shortcode_tours(Array, '', 'tours')

#1 [internal function]: do_shortcode_tag(Array)

#2 /home/transfer/public_html/domains/ preg_replace_callback('/\\[(\\[?)(tours|...', 'do_shortcode_ta...', '[vc_column_text...')

#3 /home/transfer/public_html/domains/ do_shortcode('[vc_column_text...')

#4 /home/transfer/public_html/domains/ wpb_js_remove_wpautop('[vc_column_text...')

#5 /home/transfer/public_html/domains/ in /home/transfer/public_html/domains/ on line 958