Not showing tours when logged in

Open
CityTours - Hotel & Tour Booking WordPress Theme CityTours - Hotel & Tour Booking WordPress Theme September 26, 2019
Login to reply
Bakar Lomsadze
2 weeks ago

Thanks for the reply!

Kelly R Support Agent
3 weeks ago

Hi,

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

Bakar Lomsadze
3 weeks ago

Here's link: https://transfersgeorgia.com/tours/

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: https://imgur.com/1uotYe4

[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/transfersgeorgia.com/wp-content/plugins/ct-booking/lib/shortcodes/shortcodes.php:958

Stack trace:

#0 /home/transfer/public_html/domains/transfersgeorgia.com/wp-includes/shortcodes.php(325): CTShortcodes->shortcode_tours(Array, '', 'tours')

#1 [internal function]: do_shortcode_tag(Array)

#2 /home/transfer/public_html/domains/transfersgeorgia.com/wp-includes/shortcodes.php(199): preg_replace_callback('/\\[(\\[?)(tours|...', 'do_shortcode_ta...', '[vc_column_text...')

#3 /home/transfer/public_html/domains/transfersgeorgia.com/wp-content/plugins/js_composer/include/helpers/helpers.php(240): do_shortcode('[vc_column_text...')

#4 /home/transfer/public_html/domains/transfersgeorgia.com/wp-content/plugins/js_composer/include/templates/shortcodes/vc_column.php(94): wpb_js_remove_wpautop('[vc_column_text...')

#5 /home/transfer/public_html/domains/transfersgeorgia.com/wp-content/plugins/js_composer/include/classes/short in /home/transfer/public_html/domains/transfersgeorgia.com/wp-content/plugins/ct-booking/lib/shortcodes/shortcodes.php on line 958