Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter gj_ramos

    (@gj_ramos)

    Unfortunately my theme supports WPML but not Polylang so I’m forced to switch.
    Currently I’m trying another free plugin with good results, Bogo.
    Anyway, thanks for your support and keep up the good work!

    Thread Starter gj_ramos

    (@gj_ramos)

    I really appreciate all your help with this. I’ll contact the theme support and hopefully it will be fixed. For the sake of the thread, I’ll post their answer here. Hopefully the final solution!
    Thanks, Chrystl.

    Thread Starter gj_ramos

    (@gj_ramos)

    This log was with all plugins active, including polylang of course.

    Thread Starter gj_ramos

    (@gj_ramos)

    Sorry for taking a bit more time to reply.

    Looks like there’s one error on the second to last line:
    [01-Apr-2016 12:34:40 UTC] PHP Fatal error: Call to a member function get_default_language() on a non-object in /home1/tainafoo/public_html/wp-content/themes/citytours/inc/functions/wpml.php on line 9

    This is the wpml.php

    <?php
    /*
     * get sibling post id in default language
     */
    if ( ! function_exists( 'ct_get_default_language_post_id' ) ) {
    	function ct_get_default_language_post_id($id, $post_type='post') {
    		if ( function_exists('icl_object_id') ) {
    			global $sitepress;
    			$default_language = $sitepress->get_default_language();
    			return icl_object_id($id, $post_type, true, $default_language);
    		} else {
    			return $id;
    		}
    	}
    }
    
    /*
     * get sibling post id in current language
     */
    if ( ! function_exists( 'ct_get_current_language_post_id' ) ) {
    	function ct_get_current_language_post_id($id, $post_type='post') {
    		if ( function_exists('icl_object_id') ) {
    			return icl_object_id($id, $post_type, true);
    		} else {
    			return $id;
    		}
    	}
    }
    
    /*
     * get sibling hotel id in original language
     */
    if ( ! function_exists( 'ct_hotel_org_id' ) ) {
    	function ct_hotel_org_id($id) {
    		return ct_get_default_language_post_id( $id, 'hotel' );
    	}
    }
    
    /*
     * get sibling hotel id in current language
     */
    if ( ! function_exists( 'ct_hotel_clang_id' ) ) {
    	function ct_hotel_clang_id($id) {
    		return ct_get_current_language_post_id( $id, 'hotel' );
    	}
    }
    
    /*
     * get sibling room id in original language
     */
    if ( ! function_exists( 'ct_room_org_id' ) ) {
    	function ct_room_org_id($id) {
    		return ct_get_default_language_post_id( $id, 'room_type' );
    	}
    }
    
    /*
     * get sibling room id in current language
     */
    if ( ! function_exists( 'ct_room_clang_id' ) ) {
    	function ct_room_clang_id($id) {
    		return ct_get_current_language_post_id( $id, 'room_type' );
    	}
    }
    
    /*
     * get sibling tour id in original language
     */
    if ( ! function_exists( 'ct_tour_org_id' ) ) {
    	function ct_tour_org_id($id) {
    		return ct_get_default_language_post_id( $id, 'tour' );
    	}
    }
    
    /*
     * get sibling tour id in current language
     */
    if ( ! function_exists( 'ct_tour_clang_id' ) ) {
    	function ct_tour_clang_id($id) {
    		return ct_get_current_language_post_id( $id, 'tour' );
    	}
    }
    
    /*
     * get sibling post id in original language
     */
    if ( ! function_exists( 'ct_post_org_id' ) ) {
    	function ct_post_org_id($id) {
    		return ct_get_default_language_post_id( $id, get_post_type( $id ));
    	}
    }
    
    /*
     * get sibling post id in current language
     */
    if ( ! function_exists( 'ct_post_clang_id' ) ) {
    	function ct_post_clang_id($id) {
    		return ct_get_current_language_post_id( $id, get_post_type( $id ));
    	}
    }
    
    /*
     * get default language
     */
    if ( ! function_exists( 'ct_get_default_language' ) ) {
    	function ct_get_default_language() {
    	global $sitepress;
    	if ( $sitepress ) {
    		return $sitepress->get_default_language();
    	} elseif ( defined(WPLANG) ) {
    		return WPLANG;
    	} else
    		return "en";
    	}
    }
    
    /*
     * get default language
     */
    if ( ! function_exists( 'ct_get_permalink_clang' ) ) {
    	function ct_get_permalink_clang( $post_id )
    	{
    		$url = "";
    		if ( function_exists('icl_object_id') ) {
    			$language = ICL_LANGUAGE_CODE;
    
    			$lang_post_id = icl_object_id( $post_id , 'page', true, $language );
    
    			if($lang_post_id != 0) {
    				$url = get_permalink( $lang_post_id );
    			}else {
    				// No page found, it's most likely the homepage
    				global $sitepress;
    				$url = $sitepress->language_url( $language );
    			}
    		} else {
    			$url = get_permalink( $post_id );
    		}
    
    		return esc_url( $url );
    	}
    }
    
    /*
     * get language count
     */
    if ( ! function_exists( 'ct_get_lang_count' ) ) {
    	function ct_get_lang_count() {
    		$language_count = 1;
    		// wpml variables
    		if ( defined('ICL_LANGUAGE_CODE') ) {
    			$languages = icl_get_languages('skip_missing=1');
    			$language_count = count( $languages );
    		}
    		return $language_count;
    	}
    }

    And here’s the full debug.log

    [01-Apr-2016 12:32:45 UTC] PHP Notice:  Constant CT_VERSION already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 6
    [01-Apr-2016 12:32:45 UTC] PHP Notice:  Constant CT_DB_VERSION already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 7
    [01-Apr-2016 12:32:45 UTC] PHP Notice:  Constant CT_TEMPLATE_DIRECTORY_URI already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 8
    [01-Apr-2016 12:32:45 UTC] PHP Notice:  Constant CT_IMAGE_URL already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 9
    [01-Apr-2016 12:32:45 UTC] PHP Notice:  Constant CT_INC_DIR already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 10
    [01-Apr-2016 12:32:45 UTC] PHP Notice:  Constant CT_TAX_META_DIR_URL already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 11
    [01-Apr-2016 12:32:45 UTC] PHP Notice:  Constant CT_HOTEL_VACANCIES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 13
    [01-Apr-2016 12:32:45 UTC] PHP Notice:  Constant CT_HOTEL_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 14
    [01-Apr-2016 12:32:45 UTC] PHP Notice:  Constant CT_REVIEWS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 15
    [01-Apr-2016 12:32:45 UTC] PHP Notice:  Constant CT_ADD_SERVICES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 17
    [01-Apr-2016 12:32:45 UTC] PHP Notice:  Constant CT_ADD_SERVICES_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 18
    [01-Apr-2016 12:32:45 UTC] PHP Notice:  Constant CT_TOUR_SCHEDULES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 19
    [01-Apr-2016 12:32:45 UTC] PHP Notice:  Constant CT_TOUR_SCHEDULE_META_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 20
    [01-Apr-2016 12:32:45 UTC] PHP Notice:  Constant CT_TOUR_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 21
    [01-Apr-2016 12:32:45 UTC] PHP Notice:  Constant CT_CURRENCIES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 22
    [01-Apr-2016 12:32:45 UTC] PHP Notice:  Constant CT_ORDER_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 23
    [01-Apr-2016 12:32:45 UTC] PHP Notice:  Constant CT_MODE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 24
    [01-Apr-2016 12:32:46 UTC] PHP Notice:  Constant CT_VERSION already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 6
    [01-Apr-2016 12:32:46 UTC] PHP Notice:  Constant CT_DB_VERSION already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 7
    [01-Apr-2016 12:32:46 UTC] PHP Notice:  Constant CT_TEMPLATE_DIRECTORY_URI already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 8
    [01-Apr-2016 12:32:46 UTC] PHP Notice:  Constant CT_IMAGE_URL already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 9
    [01-Apr-2016 12:32:46 UTC] PHP Notice:  Constant CT_INC_DIR already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 10
    [01-Apr-2016 12:32:46 UTC] PHP Notice:  Constant CT_TAX_META_DIR_URL already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 11
    [01-Apr-2016 12:32:46 UTC] PHP Notice:  Constant CT_HOTEL_VACANCIES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 13
    [01-Apr-2016 12:32:46 UTC] PHP Notice:  Constant CT_HOTEL_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 14
    [01-Apr-2016 12:32:46 UTC] PHP Notice:  Constant CT_REVIEWS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 15
    [01-Apr-2016 12:32:46 UTC] PHP Notice:  Constant CT_ADD_SERVICES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 17
    [01-Apr-2016 12:32:46 UTC] PHP Notice:  Constant CT_ADD_SERVICES_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 18
    [01-Apr-2016 12:32:46 UTC] PHP Notice:  Constant CT_TOUR_SCHEDULES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 19
    [01-Apr-2016 12:32:46 UTC] PHP Notice:  Constant CT_TOUR_SCHEDULE_META_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 20
    [01-Apr-2016 12:32:46 UTC] PHP Notice:  Constant CT_TOUR_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 21
    [01-Apr-2016 12:32:46 UTC] PHP Notice:  Constant CT_CURRENCIES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 22
    [01-Apr-2016 12:32:46 UTC] PHP Notice:  Constant CT_ORDER_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 23
    [01-Apr-2016 12:32:46 UTC] PHP Notice:  Constant CT_MODE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 24
    [01-Apr-2016 12:32:46 UTC] PHP Strict Standards:  Static function Minify_Inline::minify() should not be abstract in /home1/tainafoo/public_html/wp-content/plugins/w3-total-cache/lib/Minify/Minify/Inline.php on line 8
    [01-Apr-2016 12:32:47 UTC] PHP Notice:  Constant CT_VERSION already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 6
    [01-Apr-2016 12:32:47 UTC] PHP Notice:  Constant CT_DB_VERSION already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 7
    [01-Apr-2016 12:32:47 UTC] PHP Notice:  Constant CT_TEMPLATE_DIRECTORY_URI already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 8
    [01-Apr-2016 12:32:47 UTC] PHP Notice:  Constant CT_IMAGE_URL already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 9
    [01-Apr-2016 12:32:47 UTC] PHP Notice:  Constant CT_INC_DIR already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 10
    [01-Apr-2016 12:32:47 UTC] PHP Notice:  Constant CT_TAX_META_DIR_URL already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 11
    [01-Apr-2016 12:32:47 UTC] PHP Notice:  Constant CT_HOTEL_VACANCIES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 13
    [01-Apr-2016 12:32:47 UTC] PHP Notice:  Constant CT_HOTEL_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 14
    [01-Apr-2016 12:32:47 UTC] PHP Notice:  Constant CT_REVIEWS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 15
    [01-Apr-2016 12:32:47 UTC] PHP Notice:  Constant CT_ADD_SERVICES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 17
    [01-Apr-2016 12:32:47 UTC] PHP Notice:  Constant CT_ADD_SERVICES_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 18
    [01-Apr-2016 12:32:47 UTC] PHP Notice:  Constant CT_TOUR_SCHEDULES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 19
    [01-Apr-2016 12:32:47 UTC] PHP Notice:  Constant CT_TOUR_SCHEDULE_META_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 20
    [01-Apr-2016 12:32:47 UTC] PHP Notice:  Constant CT_TOUR_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 21
    [01-Apr-2016 12:32:47 UTC] PHP Notice:  Constant CT_CURRENCIES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 22
    [01-Apr-2016 12:32:47 UTC] PHP Notice:  Constant CT_ORDER_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 23
    [01-Apr-2016 12:32:47 UTC] PHP Notice:  Constant CT_MODE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 24
    [01-Apr-2016 12:32:47 UTC] PHP Notice:  Constant CT_VERSION already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 6
    [01-Apr-2016 12:32:47 UTC] PHP Notice:  Constant CT_DB_VERSION already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 7
    [01-Apr-2016 12:32:47 UTC] PHP Notice:  Constant CT_TEMPLATE_DIRECTORY_URI already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 8
    [01-Apr-2016 12:32:47 UTC] PHP Notice:  Constant CT_IMAGE_URL already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 9
    [01-Apr-2016 12:32:47 UTC] PHP Notice:  Constant CT_INC_DIR already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 10
    [01-Apr-2016 12:32:47 UTC] PHP Notice:  Constant CT_TAX_META_DIR_URL already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 11
    [01-Apr-2016 12:32:47 UTC] PHP Notice:  Constant CT_HOTEL_VACANCIES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 13
    [01-Apr-2016 12:32:47 UTC] PHP Notice:  Constant CT_HOTEL_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 14
    [01-Apr-2016 12:32:47 UTC] PHP Notice:  Constant CT_REVIEWS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 15
    [01-Apr-2016 12:32:47 UTC] PHP Notice:  Constant CT_ADD_SERVICES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 17
    [01-Apr-2016 12:32:47 UTC] PHP Notice:  Constant CT_ADD_SERVICES_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 18
    [01-Apr-2016 12:32:47 UTC] PHP Notice:  Constant CT_TOUR_SCHEDULES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 19
    [01-Apr-2016 12:32:47 UTC] PHP Notice:  Constant CT_TOUR_SCHEDULE_META_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 20
    [01-Apr-2016 12:32:47 UTC] PHP Notice:  Constant CT_TOUR_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 21
    [01-Apr-2016 12:32:47 UTC] PHP Notice:  Constant CT_CURRENCIES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 22
    [01-Apr-2016 12:32:47 UTC] PHP Notice:  Constant CT_ORDER_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 23
    [01-Apr-2016 12:32:47 UTC] PHP Notice:  Constant CT_MODE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 24
    [01-Apr-2016 12:32:48 UTC] PHP Notice:  Constant CT_VERSION already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 6
    [01-Apr-2016 12:32:48 UTC] PHP Notice:  Constant CT_DB_VERSION already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 7
    [01-Apr-2016 12:32:48 UTC] PHP Notice:  Constant CT_TEMPLATE_DIRECTORY_URI already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 8
    [01-Apr-2016 12:32:48 UTC] PHP Notice:  Constant CT_IMAGE_URL already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 9
    [01-Apr-2016 12:32:48 UTC] PHP Notice:  Constant CT_INC_DIR already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 10
    [01-Apr-2016 12:32:48 UTC] PHP Notice:  Constant CT_TAX_META_DIR_URL already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 11
    [01-Apr-2016 12:32:48 UTC] PHP Notice:  Constant CT_HOTEL_VACANCIES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 13
    [01-Apr-2016 12:32:48 UTC] PHP Notice:  Constant CT_HOTEL_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 14
    [01-Apr-2016 12:32:48 UTC] PHP Notice:  Constant CT_REVIEWS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 15
    [01-Apr-2016 12:32:48 UTC] PHP Notice:  Constant CT_ADD_SERVICES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 17
    [01-Apr-2016 12:32:48 UTC] PHP Notice:  Constant CT_ADD_SERVICES_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 18
    [01-Apr-2016 12:32:48 UTC] PHP Notice:  Constant CT_TOUR_SCHEDULES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 19
    [01-Apr-2016 12:32:48 UTC] PHP Notice:  Constant CT_TOUR_SCHEDULE_META_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 20
    [01-Apr-2016 12:32:48 UTC] PHP Notice:  Constant CT_TOUR_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 21
    [01-Apr-2016 12:32:48 UTC] PHP Notice:  Constant CT_CURRENCIES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 22
    [01-Apr-2016 12:32:48 UTC] PHP Notice:  Constant CT_ORDER_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 23
    [01-Apr-2016 12:32:48 UTC] PHP Notice:  Constant CT_MODE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 24
    [01-Apr-2016 12:32:49 UTC] PHP Notice:  Constant CT_VERSION already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 6
    [01-Apr-2016 12:32:49 UTC] PHP Notice:  Constant CT_DB_VERSION already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 7
    [01-Apr-2016 12:32:49 UTC] PHP Notice:  Constant CT_TEMPLATE_DIRECTORY_URI already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 8
    [01-Apr-2016 12:32:49 UTC] PHP Notice:  Constant CT_IMAGE_URL already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 9
    [01-Apr-2016 12:32:49 UTC] PHP Notice:  Constant CT_INC_DIR already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 10
    [01-Apr-2016 12:32:49 UTC] PHP Notice:  Constant CT_TAX_META_DIR_URL already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 11
    [01-Apr-2016 12:32:49 UTC] PHP Notice:  Constant CT_HOTEL_VACANCIES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 13
    [01-Apr-2016 12:32:49 UTC] PHP Notice:  Constant CT_HOTEL_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 14
    [01-Apr-2016 12:32:49 UTC] PHP Notice:  Constant CT_REVIEWS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 15
    [01-Apr-2016 12:32:49 UTC] PHP Notice:  Constant CT_ADD_SERVICES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 17
    [01-Apr-2016 12:32:49 UTC] PHP Notice:  Constant CT_ADD_SERVICES_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 18
    [01-Apr-2016 12:32:49 UTC] PHP Notice:  Constant CT_TOUR_SCHEDULES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 19
    [01-Apr-2016 12:32:49 UTC] PHP Notice:  Constant CT_TOUR_SCHEDULE_META_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 20
    [01-Apr-2016 12:32:49 UTC] PHP Notice:  Constant CT_TOUR_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 21
    [01-Apr-2016 12:32:49 UTC] PHP Notice:  Constant CT_CURRENCIES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 22
    [01-Apr-2016 12:32:49 UTC] PHP Notice:  Constant CT_ORDER_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 23
    [01-Apr-2016 12:32:49 UTC] PHP Notice:  Constant CT_MODE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 24
    [01-Apr-2016 12:32:49 UTC] PHP Notice:  Constant CT_VERSION already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 6
    [01-Apr-2016 12:32:49 UTC] PHP Notice:  Constant CT_DB_VERSION already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 7
    [01-Apr-2016 12:32:49 UTC] PHP Notice:  Constant CT_TEMPLATE_DIRECTORY_URI already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 8
    [01-Apr-2016 12:32:49 UTC] PHP Notice:  Constant CT_IMAGE_URL already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 9
    [01-Apr-2016 12:32:49 UTC] PHP Notice:  Constant CT_INC_DIR already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 10
    [01-Apr-2016 12:32:49 UTC] PHP Notice:  Constant CT_TAX_META_DIR_URL already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 11
    [01-Apr-2016 12:32:49 UTC] PHP Notice:  Constant CT_HOTEL_VACANCIES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 13
    [01-Apr-2016 12:32:49 UTC] PHP Notice:  Constant CT_HOTEL_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 14
    [01-Apr-2016 12:32:49 UTC] PHP Notice:  Constant CT_REVIEWS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 15
    [01-Apr-2016 12:32:49 UTC] PHP Notice:  Constant CT_ADD_SERVICES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 17
    [01-Apr-2016 12:32:49 UTC] PHP Notice:  Constant CT_ADD_SERVICES_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 18
    [01-Apr-2016 12:32:49 UTC] PHP Notice:  Constant CT_TOUR_SCHEDULES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 19
    [01-Apr-2016 12:32:49 UTC] PHP Notice:  Constant CT_TOUR_SCHEDULE_META_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 20
    [01-Apr-2016 12:32:49 UTC] PHP Notice:  Constant CT_TOUR_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 21
    [01-Apr-2016 12:32:49 UTC] PHP Notice:  Constant CT_CURRENCIES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 22
    [01-Apr-2016 12:32:49 UTC] PHP Notice:  Constant CT_ORDER_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 23
    [01-Apr-2016 12:32:49 UTC] PHP Notice:  Constant CT_MODE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 24
    [01-Apr-2016 12:32:50 UTC] PHP Notice:  Constant CT_VERSION already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 6
    [01-Apr-2016 12:32:50 UTC] PHP Notice:  Constant CT_DB_VERSION already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 7
    [01-Apr-2016 12:32:50 UTC] PHP Notice:  Constant CT_TEMPLATE_DIRECTORY_URI already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 8
    [01-Apr-2016 12:32:50 UTC] PHP Notice:  Constant CT_IMAGE_URL already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 9
    [01-Apr-2016 12:32:50 UTC] PHP Notice:  Constant CT_INC_DIR already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 10
    [01-Apr-2016 12:32:50 UTC] PHP Notice:  Constant CT_TAX_META_DIR_URL already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 11
    [01-Apr-2016 12:32:50 UTC] PHP Notice:  Constant CT_HOTEL_VACANCIES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 13
    [01-Apr-2016 12:32:50 UTC] PHP Notice:  Constant CT_HOTEL_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 14
    [01-Apr-2016 12:32:50 UTC] PHP Notice:  Constant CT_REVIEWS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 15
    [01-Apr-2016 12:32:50 UTC] PHP Notice:  Constant CT_ADD_SERVICES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 17
    [01-Apr-2016 12:32:50 UTC] PHP Notice:  Constant CT_ADD_SERVICES_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 18
    [01-Apr-2016 12:32:50 UTC] PHP Notice:  Constant CT_TOUR_SCHEDULES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 19
    [01-Apr-2016 12:32:50 UTC] PHP Notice:  Constant CT_TOUR_SCHEDULE_META_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 20
    [01-Apr-2016 12:32:50 UTC] PHP Notice:  Constant CT_TOUR_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 21
    [01-Apr-2016 12:32:50 UTC] PHP Notice:  Constant CT_CURRENCIES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 22
    [01-Apr-2016 12:32:50 UTC] PHP Notice:  Constant CT_ORDER_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 23
    [01-Apr-2016 12:32:50 UTC] PHP Notice:  Constant CT_MODE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 24
    [01-Apr-2016 12:32:50 UTC] PHP Notice:  Constant CT_VERSION already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 6
    [01-Apr-2016 12:32:50 UTC] PHP Notice:  Constant CT_DB_VERSION already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 7
    [01-Apr-2016 12:32:50 UTC] PHP Notice:  Constant CT_TEMPLATE_DIRECTORY_URI already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 8
    [01-Apr-2016 12:32:50 UTC] PHP Notice:  Constant CT_IMAGE_URL already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 9
    [01-Apr-2016 12:32:50 UTC] PHP Notice:  Constant CT_INC_DIR already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 10
    [01-Apr-2016 12:32:50 UTC] PHP Notice:  Constant CT_TAX_META_DIR_URL already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 11
    [01-Apr-2016 12:32:50 UTC] PHP Notice:  Constant CT_HOTEL_VACANCIES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 13
    [01-Apr-2016 12:32:50 UTC] PHP Notice:  Constant CT_HOTEL_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 14
    [01-Apr-2016 12:32:50 UTC] PHP Notice:  Constant CT_REVIEWS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 15
    [01-Apr-2016 12:32:50 UTC] PHP Notice:  Constant CT_ADD_SERVICES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 17
    [01-Apr-2016 12:32:50 UTC] PHP Notice:  Constant CT_ADD_SERVICES_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 18
    [01-Apr-2016 12:32:50 UTC] PHP Notice:  Constant CT_TOUR_SCHEDULES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 19
    [01-Apr-2016 12:32:50 UTC] PHP Notice:  Constant CT_TOUR_SCHEDULE_META_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 20
    [01-Apr-2016 12:32:50 UTC] PHP Notice:  Constant CT_TOUR_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 21
    [01-Apr-2016 12:32:50 UTC] PHP Notice:  Constant CT_CURRENCIES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 22
    [01-Apr-2016 12:32:50 UTC] PHP Notice:  Constant CT_ORDER_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 23
    [01-Apr-2016 12:32:50 UTC] PHP Notice:  Constant CT_MODE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 24
    [01-Apr-2016 12:32:51 UTC] PHP Notice:  Constant CT_VERSION already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 6
    [01-Apr-2016 12:32:51 UTC] PHP Notice:  Constant CT_DB_VERSION already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 7
    [01-Apr-2016 12:32:51 UTC] PHP Notice:  Constant CT_TEMPLATE_DIRECTORY_URI already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 8
    [01-Apr-2016 12:32:51 UTC] PHP Notice:  Constant CT_IMAGE_URL already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 9
    [01-Apr-2016 12:32:51 UTC] PHP Notice:  Constant CT_INC_DIR already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 10
    [01-Apr-2016 12:32:51 UTC] PHP Notice:  Constant CT_TAX_META_DIR_URL already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 11
    [01-Apr-2016 12:32:51 UTC] PHP Notice:  Constant CT_HOTEL_VACANCIES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 13
    [01-Apr-2016 12:32:51 UTC] PHP Notice:  Constant CT_HOTEL_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 14
    [01-Apr-2016 12:32:51 UTC] PHP Notice:  Constant CT_REVIEWS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 15
    [01-Apr-2016 12:32:51 UTC] PHP Notice:  Constant CT_ADD_SERVICES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 17
    [01-Apr-2016 12:32:51 UTC] PHP Notice:  Constant CT_ADD_SERVICES_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 18
    [01-Apr-2016 12:32:51 UTC] PHP Notice:  Constant CT_TOUR_SCHEDULES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 19
    [01-Apr-2016 12:32:51 UTC] PHP Notice:  Constant CT_TOUR_SCHEDULE_META_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 20
    [01-Apr-2016 12:32:51 UTC] PHP Notice:  Constant CT_TOUR_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 21
    [01-Apr-2016 12:32:51 UTC] PHP Notice:  Constant CT_CURRENCIES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 22
    [01-Apr-2016 12:32:51 UTC] PHP Notice:  Constant CT_ORDER_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 23
    [01-Apr-2016 12:32:51 UTC] PHP Notice:  Constant CT_MODE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 24
    [01-Apr-2016 12:32:52 UTC] PHP Notice:  Constant CT_VERSION already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 6
    [01-Apr-2016 12:32:52 UTC] PHP Notice:  Constant CT_DB_VERSION already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 7
    [01-Apr-2016 12:32:52 UTC] PHP Notice:  Constant CT_TEMPLATE_DIRECTORY_URI already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 8
    [01-Apr-2016 12:32:52 UTC] PHP Notice:  Constant CT_IMAGE_URL already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 9
    [01-Apr-2016 12:32:52 UTC] PHP Notice:  Constant CT_INC_DIR already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 10
    [01-Apr-2016 12:32:52 UTC] PHP Notice:  Constant CT_TAX_META_DIR_URL already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 11
    [01-Apr-2016 12:32:52 UTC] PHP Notice:  Constant CT_HOTEL_VACANCIES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 13
    [01-Apr-2016 12:32:52 UTC] PHP Notice:  Constant CT_HOTEL_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 14
    [01-Apr-2016 12:32:52 UTC] PHP Notice:  Constant CT_REVIEWS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 15
    [01-Apr-2016 12:32:52 UTC] PHP Notice:  Constant CT_ADD_SERVICES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 17
    [01-Apr-2016 12:32:52 UTC] PHP Notice:  Constant CT_ADD_SERVICES_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 18
    [01-Apr-2016 12:32:52 UTC] PHP Notice:  Constant CT_TOUR_SCHEDULES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 19
    [01-Apr-2016 12:32:52 UTC] PHP Notice:  Constant CT_TOUR_SCHEDULE_META_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 20
    [01-Apr-2016 12:32:52 UTC] PHP Notice:  Constant CT_TOUR_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 21
    [01-Apr-2016 12:32:52 UTC] PHP Notice:  Constant CT_CURRENCIES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 22
    [01-Apr-2016 12:32:52 UTC] PHP Notice:  Constant CT_ORDER_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 23
    [01-Apr-2016 12:32:52 UTC] PHP Notice:  Constant CT_MODE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 24
    [01-Apr-2016 12:32:52 UTC] PHP Notice:  Constant CT_VERSION already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 6
    [01-Apr-2016 12:32:52 UTC] PHP Notice:  Constant CT_DB_VERSION already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 7
    [01-Apr-2016 12:32:52 UTC] PHP Notice:  Constant CT_TEMPLATE_DIRECTORY_URI already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 8
    [01-Apr-2016 12:32:52 UTC] PHP Notice:  Constant CT_IMAGE_URL already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 9
    [01-Apr-2016 12:32:52 UTC] PHP Notice:  Constant CT_INC_DIR already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 10
    [01-Apr-2016 12:32:52 UTC] PHP Notice:  Constant CT_TAX_META_DIR_URL already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 11
    [01-Apr-2016 12:32:52 UTC] PHP Notice:  Constant CT_HOTEL_VACANCIES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 13
    [01-Apr-2016 12:32:52 UTC] PHP Notice:  Constant CT_HOTEL_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 14
    [01-Apr-2016 12:32:52 UTC] PHP Notice:  Constant CT_REVIEWS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 15
    [01-Apr-2016 12:32:52 UTC] PHP Notice:  Constant CT_ADD_SERVICES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 17
    [01-Apr-2016 12:32:52 UTC] PHP Notice:  Constant CT_ADD_SERVICES_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 18
    [01-Apr-2016 12:32:52 UTC] PHP Notice:  Constant CT_TOUR_SCHEDULES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 19
    [01-Apr-2016 12:32:52 UTC] PHP Notice:  Constant CT_TOUR_SCHEDULE_META_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 20
    [01-Apr-2016 12:32:52 UTC] PHP Notice:  Constant CT_TOUR_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 21
    [01-Apr-2016 12:32:52 UTC] PHP Notice:  Constant CT_CURRENCIES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 22
    [01-Apr-2016 12:32:52 UTC] PHP Notice:  Constant CT_ORDER_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 23
    [01-Apr-2016 12:32:52 UTC] PHP Notice:  Constant CT_MODE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 24
    [01-Apr-2016 12:32:53 UTC] PHP Notice:  Constant CT_VERSION already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 6
    [01-Apr-2016 12:32:53 UTC] PHP Notice:  Constant CT_DB_VERSION already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 7
    [01-Apr-2016 12:32:53 UTC] PHP Notice:  Constant CT_TEMPLATE_DIRECTORY_URI already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 8
    [01-Apr-2016 12:32:53 UTC] PHP Notice:  Constant CT_IMAGE_URL already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 9
    [01-Apr-2016 12:32:53 UTC] PHP Notice:  Constant CT_INC_DIR already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 10
    [01-Apr-2016 12:32:53 UTC] PHP Notice:  Constant CT_TAX_META_DIR_URL already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 11
    [01-Apr-2016 12:32:53 UTC] PHP Notice:  Constant CT_HOTEL_VACANCIES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 13
    [01-Apr-2016 12:32:53 UTC] PHP Notice:  Constant CT_HOTEL_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 14
    [01-Apr-2016 12:32:53 UTC] PHP Notice:  Constant CT_REVIEWS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 15
    [01-Apr-2016 12:32:53 UTC] PHP Notice:  Constant CT_ADD_SERVICES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 17
    [01-Apr-2016 12:32:53 UTC] PHP Notice:  Constant CT_ADD_SERVICES_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 18
    [01-Apr-2016 12:32:53 UTC] PHP Notice:  Constant CT_TOUR_SCHEDULES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 19
    [01-Apr-2016 12:32:53 UTC] PHP Notice:  Constant CT_TOUR_SCHEDULE_META_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 20
    [01-Apr-2016 12:32:53 UTC] PHP Notice:  Constant CT_TOUR_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 21
    [01-Apr-2016 12:32:53 UTC] PHP Notice:  Constant CT_CURRENCIES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 22
    [01-Apr-2016 12:32:53 UTC] PHP Notice:  Constant CT_ORDER_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 23
    [01-Apr-2016 12:32:53 UTC] PHP Notice:  Constant CT_MODE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 24
    [01-Apr-2016 12:32:53 UTC] PHP Notice:  Constant CT_VERSION already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 6
    [01-Apr-2016 12:32:53 UTC] PHP Notice:  Constant CT_DB_VERSION already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 7
    [01-Apr-2016 12:32:53 UTC] PHP Notice:  Constant CT_TEMPLATE_DIRECTORY_URI already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 8
    [01-Apr-2016 12:32:53 UTC] PHP Notice:  Constant CT_IMAGE_URL already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 9
    [01-Apr-2016 12:32:53 UTC] PHP Notice:  Constant CT_INC_DIR already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 10
    [01-Apr-2016 12:32:53 UTC] PHP Notice:  Constant CT_TAX_META_DIR_URL already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 11
    [01-Apr-2016 12:32:53 UTC] PHP Notice:  Constant CT_HOTEL_VACANCIES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 13
    [01-Apr-2016 12:32:53 UTC] PHP Notice:  Constant CT_HOTEL_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 14
    [01-Apr-2016 12:32:53 UTC] PHP Notice:  Constant CT_REVIEWS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 15
    [01-Apr-2016 12:32:53 UTC] PHP Notice:  Constant CT_ADD_SERVICES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 17
    [01-Apr-2016 12:32:53 UTC] PHP Notice:  Constant CT_ADD_SERVICES_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 18
    [01-Apr-2016 12:32:53 UTC] PHP Notice:  Constant CT_TOUR_SCHEDULES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 19
    [01-Apr-2016 12:32:53 UTC] PHP Notice:  Constant CT_TOUR_SCHEDULE_META_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 20
    [01-Apr-2016 12:32:53 UTC] PHP Notice:  Constant CT_TOUR_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 21
    [01-Apr-2016 12:32:53 UTC] PHP Notice:  Constant CT_CURRENCIES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 22
    [01-Apr-2016 12:32:53 UTC] PHP Notice:  Constant CT_ORDER_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 23
    [01-Apr-2016 12:32:53 UTC] PHP Notice:  Constant CT_MODE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 24
    [01-Apr-2016 12:32:54 UTC] PHP Strict Standards:  Static function Minify_Inline::minify() should not be abstract in /home1/tainafoo/public_html/wp-content/plugins/w3-total-cache/lib/Minify/Minify/Inline.php on line 8
    [01-Apr-2016 12:32:54 UTC] PHP Notice:  Constant CT_VERSION already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 6
    [01-Apr-2016 12:32:54 UTC] PHP Notice:  Constant CT_DB_VERSION already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 7
    [01-Apr-2016 12:32:54 UTC] PHP Notice:  Constant CT_TEMPLATE_DIRECTORY_URI already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 8
    [01-Apr-2016 12:32:54 UTC] PHP Notice:  Constant CT_IMAGE_URL already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 9
    [01-Apr-2016 12:32:54 UTC] PHP Notice:  Constant CT_INC_DIR already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 10
    [01-Apr-2016 12:32:54 UTC] PHP Notice:  Constant CT_TAX_META_DIR_URL already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 11
    [01-Apr-2016 12:32:54 UTC] PHP Notice:  Constant CT_HOTEL_VACANCIES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 13
    [01-Apr-2016 12:32:54 UTC] PHP Notice:  Constant CT_HOTEL_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 14
    [01-Apr-2016 12:32:54 UTC] PHP Notice:  Constant CT_REVIEWS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 15
    [01-Apr-2016 12:32:54 UTC] PHP Notice:  Constant CT_ADD_SERVICES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 17
    [01-Apr-2016 12:32:54 UTC] PHP Notice:  Constant CT_ADD_SERVICES_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 18
    [01-Apr-2016 12:32:54 UTC] PHP Notice:  Constant CT_TOUR_SCHEDULES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 19
    [01-Apr-2016 12:32:54 UTC] PHP Notice:  Constant CT_TOUR_SCHEDULE_META_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 20
    [01-Apr-2016 12:32:54 UTC] PHP Notice:  Constant CT_TOUR_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 21
    [01-Apr-2016 12:32:54 UTC] PHP Notice:  Constant CT_CURRENCIES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 22
    [01-Apr-2016 12:32:54 UTC] PHP Notice:  Constant CT_ORDER_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 23
    [01-Apr-2016 12:32:54 UTC] PHP Notice:  Constant CT_MODE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 24
    [01-Apr-2016 12:32:54 UTC] PHP Strict Standards:  Static function Minify_Inline::minify() should not be abstract in /home1/tainafoo/public_html/wp-content/plugins/w3-total-cache/lib/Minify/Minify/Inline.php on line 8
    [01-Apr-2016 12:32:55 UTC] PHP Notice:  Constant CT_VERSION already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 6
    [01-Apr-2016 12:32:55 UTC] PHP Notice:  Constant CT_DB_VERSION already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 7
    [01-Apr-2016 12:32:55 UTC] PHP Notice:  Constant CT_TEMPLATE_DIRECTORY_URI already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 8
    [01-Apr-2016 12:32:55 UTC] PHP Notice:  Constant CT_IMAGE_URL already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 9
    [01-Apr-2016 12:32:55 UTC] PHP Notice:  Constant CT_INC_DIR already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 10
    [01-Apr-2016 12:32:55 UTC] PHP Notice:  Constant CT_TAX_META_DIR_URL already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 11
    [01-Apr-2016 12:32:55 UTC] PHP Notice:  Constant CT_HOTEL_VACANCIES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 13
    [01-Apr-2016 12:32:55 UTC] PHP Notice:  Constant CT_HOTEL_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 14
    [01-Apr-2016 12:32:55 UTC] PHP Notice:  Constant CT_REVIEWS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 15
    [01-Apr-2016 12:32:55 UTC] PHP Notice:  Constant CT_ADD_SERVICES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 17
    [01-Apr-2016 12:32:55 UTC] PHP Notice:  Constant CT_ADD_SERVICES_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 18
    [01-Apr-2016 12:32:55 UTC] PHP Notice:  Constant CT_TOUR_SCHEDULES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 19
    [01-Apr-2016 12:32:55 UTC] PHP Notice:  Constant CT_TOUR_SCHEDULE_META_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 20
    [01-Apr-2016 12:32:55 UTC] PHP Notice:  Constant CT_TOUR_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 21
    [01-Apr-2016 12:32:55 UTC] PHP Notice:  Constant CT_CURRENCIES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 22
    [01-Apr-2016 12:32:55 UTC] PHP Notice:  Constant CT_ORDER_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 23
    [01-Apr-2016 12:32:55 UTC] PHP Notice:  Constant CT_MODE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 24
    [01-Apr-2016 12:32:55 UTC] PHP Strict Standards:  Static function Minify_Inline::minify() should not be abstract in /home1/tainafoo/public_html/wp-content/plugins/w3-total-cache/lib/Minify/Minify/Inline.php on line 8
    [01-Apr-2016 12:32:56 UTC] PHP Notice:  Constant CT_VERSION already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 6
    [01-Apr-2016 12:32:56 UTC] PHP Notice:  Constant CT_DB_VERSION already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 7
    [01-Apr-2016 12:32:56 UTC] PHP Notice:  Constant CT_TEMPLATE_DIRECTORY_URI already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 8
    [01-Apr-2016 12:32:56 UTC] PHP Notice:  Constant CT_IMAGE_URL already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 9
    [01-Apr-2016 12:32:56 UTC] PHP Notice:  Constant CT_INC_DIR already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 10
    [01-Apr-2016 12:32:56 UTC] PHP Notice:  Constant CT_TAX_META_DIR_URL already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 11
    [01-Apr-2016 12:32:56 UTC] PHP Notice:  Constant CT_HOTEL_VACANCIES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 13
    [01-Apr-2016 12:32:56 UTC] PHP Notice:  Constant CT_HOTEL_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 14
    [01-Apr-2016 12:32:56 UTC] PHP Notice:  Constant CT_REVIEWS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 15
    [01-Apr-2016 12:32:56 UTC] PHP Notice:  Constant CT_ADD_SERVICES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 17
    [01-Apr-2016 12:32:56 UTC] PHP Notice:  Constant CT_ADD_SERVICES_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 18
    [01-Apr-2016 12:32:56 UTC] PHP Notice:  Constant CT_TOUR_SCHEDULES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 19
    [01-Apr-2016 12:32:56 UTC] PHP Notice:  Constant CT_TOUR_SCHEDULE_META_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 20
    [01-Apr-2016 12:32:56 UTC] PHP Notice:  Constant CT_TOUR_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 21
    [01-Apr-2016 12:32:56 UTC] PHP Notice:  Constant CT_CURRENCIES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 22
    [01-Apr-2016 12:32:56 UTC] PHP Notice:  Constant CT_ORDER_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 23
    [01-Apr-2016 12:32:56 UTC] PHP Notice:  Constant CT_MODE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 24
    [01-Apr-2016 12:32:56 UTC] PHP Strict Standards:  Static function Minify_Inline::minify() should not be abstract in /home1/tainafoo/public_html/wp-content/plugins/w3-total-cache/lib/Minify/Minify/Inline.php on line 8
    [01-Apr-2016 12:32:57 UTC] PHP Notice:  Constant CT_VERSION already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 6
    [01-Apr-2016 12:32:57 UTC] PHP Notice:  Constant CT_DB_VERSION already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 7
    [01-Apr-2016 12:32:57 UTC] PHP Notice:  Constant CT_TEMPLATE_DIRECTORY_URI already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 8
    [01-Apr-2016 12:32:57 UTC] PHP Notice:  Constant CT_IMAGE_URL already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 9
    [01-Apr-2016 12:32:57 UTC] PHP Notice:  Constant CT_INC_DIR already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 10
    [01-Apr-2016 12:32:57 UTC] PHP Notice:  Constant CT_TAX_META_DIR_URL already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 11
    [01-Apr-2016 12:32:57 UTC] PHP Notice:  Constant CT_HOTEL_VACANCIES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 13
    [01-Apr-2016 12:32:57 UTC] PHP Notice:  Constant CT_HOTEL_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 14
    [01-Apr-2016 12:32:57 UTC] PHP Notice:  Constant CT_REVIEWS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 15
    [01-Apr-2016 12:32:57 UTC] PHP Notice:  Constant CT_ADD_SERVICES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 17
    [01-Apr-2016 12:32:57 UTC] PHP Notice:  Constant CT_ADD_SERVICES_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 18
    [01-Apr-2016 12:32:57 UTC] PHP Notice:  Constant CT_TOUR_SCHEDULES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 19
    [01-Apr-2016 12:32:57 UTC] PHP Notice:  Constant CT_TOUR_SCHEDULE_META_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 20
    [01-Apr-2016 12:32:57 UTC] PHP Notice:  Constant CT_TOUR_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 21
    [01-Apr-2016 12:32:57 UTC] PHP Notice:  Constant CT_CURRENCIES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 22
    [01-Apr-2016 12:32:57 UTC] PHP Notice:  Constant CT_ORDER_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 23
    [01-Apr-2016 12:32:57 UTC] PHP Notice:  Constant CT_MODE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 24
    [01-Apr-2016 12:32:57 UTC] PHP Strict Standards:  Static function Minify_Inline::minify() should not be abstract in /home1/tainafoo/public_html/wp-content/plugins/w3-total-cache/lib/Minify/Minify/Inline.php on line 8
    [01-Apr-2016 12:32:57 UTC] PHP Notice:  Constant CT_VERSION already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 6
    [01-Apr-2016 12:32:57 UTC] PHP Notice:  Constant CT_DB_VERSION already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 7
    [01-Apr-2016 12:32:57 UTC] PHP Notice:  Constant CT_TEMPLATE_DIRECTORY_URI already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 8
    [01-Apr-2016 12:32:57 UTC] PHP Notice:  Constant CT_IMAGE_URL already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 9
    [01-Apr-2016 12:32:57 UTC] PHP Notice:  Constant CT_INC_DIR already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 10
    [01-Apr-2016 12:32:57 UTC] PHP Notice:  Constant CT_TAX_META_DIR_URL already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 11
    [01-Apr-2016 12:32:57 UTC] PHP Notice:  Constant CT_HOTEL_VACANCIES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 13
    [01-Apr-2016 12:32:57 UTC] PHP Notice:  Constant CT_HOTEL_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 14
    [01-Apr-2016 12:32:57 UTC] PHP Notice:  Constant CT_REVIEWS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 15
    [01-Apr-2016 12:32:57 UTC] PHP Notice:  Constant CT_ADD_SERVICES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 17
    [01-Apr-2016 12:32:57 UTC] PHP Notice:  Constant CT_ADD_SERVICES_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 18
    [01-Apr-2016 12:32:57 UTC] PHP Notice:  Constant CT_TOUR_SCHEDULES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 19
    [01-Apr-2016 12:32:57 UTC] PHP Notice:  Constant CT_TOUR_SCHEDULE_META_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 20
    [01-Apr-2016 12:32:57 UTC] PHP Notice:  Constant CT_TOUR_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 21
    [01-Apr-2016 12:32:57 UTC] PHP Notice:  Constant CT_CURRENCIES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 22
    [01-Apr-2016 12:32:57 UTC] PHP Notice:  Constant CT_ORDER_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 23
    [01-Apr-2016 12:32:57 UTC] PHP Notice:  Constant CT_MODE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 24
    [01-Apr-2016 12:32:57 UTC] PHP Strict Standards:  Static function Minify_Inline::minify() should not be abstract in /home1/tainafoo/public_html/wp-content/plugins/w3-total-cache/lib/Minify/Minify/Inline.php on line 8
    [01-Apr-2016 12:32:58 UTC] PHP Notice:  Constant CT_VERSION already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 6
    [01-Apr-2016 12:32:58 UTC] PHP Notice:  Constant CT_DB_VERSION already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 7
    [01-Apr-2016 12:32:58 UTC] PHP Notice:  Constant CT_TEMPLATE_DIRECTORY_URI already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 8
    [01-Apr-2016 12:32:58 UTC] PHP Notice:  Constant CT_IMAGE_URL already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 9
    [01-Apr-2016 12:32:58 UTC] PHP Notice:  Constant CT_INC_DIR already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 10
    [01-Apr-2016 12:32:58 UTC] PHP Notice:  Constant CT_TAX_META_DIR_URL already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 11
    [01-Apr-2016 12:32:58 UTC] PHP Notice:  Constant CT_HOTEL_VACANCIES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 13
    [01-Apr-2016 12:32:58 UTC] PHP Notice:  Constant CT_HOTEL_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 14
    [01-Apr-2016 12:32:58 UTC] PHP Notice:  Constant CT_REVIEWS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 15
    [01-Apr-2016 12:32:58 UTC] PHP Notice:  Constant CT_ADD_SERVICES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 17
    [01-Apr-2016 12:32:58 UTC] PHP Notice:  Constant CT_ADD_SERVICES_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 18
    [01-Apr-2016 12:32:58 UTC] PHP Notice:  Constant CT_TOUR_SCHEDULES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 19
    [01-Apr-2016 12:32:58 UTC] PHP Notice:  Constant CT_TOUR_SCHEDULE_META_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 20
    [01-Apr-2016 12:32:58 UTC] PHP Notice:  Constant CT_TOUR_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 21
    [01-Apr-2016 12:32:58 UTC] PHP Notice:  Constant CT_CURRENCIES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 22
    [01-Apr-2016 12:32:58 UTC] PHP Notice:  Constant CT_ORDER_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 23
    [01-Apr-2016 12:32:58 UTC] PHP Notice:  Constant CT_MODE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 24
    [01-Apr-2016 12:32:58 UTC] PHP Strict Standards:  Static function Minify_Inline::minify() should not be abstract in /home1/tainafoo/public_html/wp-content/plugins/w3-total-cache/lib/Minify/Minify/Inline.php on line 8
    [01-Apr-2016 12:32:59 UTC] PHP Notice:  Constant CT_VERSION already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 6
    [01-Apr-2016 12:32:59 UTC] PHP Notice:  Constant CT_DB_VERSION already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 7
    [01-Apr-2016 12:32:59 UTC] PHP Notice:  Constant CT_TEMPLATE_DIRECTORY_URI already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 8
    [01-Apr-2016 12:32:59 UTC] PHP Notice:  Constant CT_IMAGE_URL already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 9
    [01-Apr-2016 12:32:59 UTC] PHP Notice:  Constant CT_INC_DIR already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 10
    [01-Apr-2016 12:32:59 UTC] PHP Notice:  Constant CT_TAX_META_DIR_URL already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 11
    [01-Apr-2016 12:32:59 UTC] PHP Notice:  Constant CT_HOTEL_VACANCIES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 13
    [01-Apr-2016 12:32:59 UTC] PHP Notice:  Constant CT_HOTEL_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 14
    [01-Apr-2016 12:32:59 UTC] PHP Notice:  Constant CT_REVIEWS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 15
    [01-Apr-2016 12:32:59 UTC] PHP Notice:  Constant CT_ADD_SERVICES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 17
    [01-Apr-2016 12:32:59 UTC] PHP Notice:  Constant CT_ADD_SERVICES_BOOKINGS_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 18
    [01-Apr-2016 12:32:59 UTC] PHP Notice:  Constant CT_TOUR_SCHEDULES_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 19
    [01-Apr-2016 12:32:59 UTC] PHP Notice:  Constant CT_TOUR_SCHEDULE_META_TABLE already defined in /home1/tainafoo/public_html/wp-content/themes/citytours/functions.php on line 20
    [01-Apr-2016 12:32:59 UTC] PHP Notice:  Constant CT_TOUR_BOOKINGS_TABLE already defined in /home1/tainafoo/publ

    Thread Starter gj_ramos

    (@gj_ramos)

    It seems that it came with the theme “City Tours” (https://themeforest.net/item/citytours-hotel-tour-booking-wordpress-theme/13181652)

    But here’s the ct-booking.php

    <?php
    /**
     * Plugin Name: CTBooking
     * Plugin URI: https://www.soaptheme.net/ctbooking/
     * Description: A booking system
     * Version: 1.0
     * Author: Soaptheme
     * Author URI: https://www.soaptheme.net
     */
    if ( ! function_exists( 'ct_register_hotel_post_type' ) ) {
    	function ct_register_hotel_post_type() {
    		$labels = array(
    			'name'                => _x( 'Hotels', 'Post Type General Name', 'citytours' ),
    			'singular_name'       => _x( 'Hotel', 'Post Type Singular Name', 'citytours' ),
    			'menu_name'           => __( 'Hotels', 'citytours' ),
    			'all_items'           => __( 'All Hotels', 'citytours' ),
    			'view_item'           => __( 'View Hotel', 'citytours' ),
    			'add_new_item'        => __( 'Add New Hotel', 'citytours' ),
    			'add_new'             => __( 'New Hotel', 'citytours' ),
    			'edit_item'           => __( 'Edit Hotels', 'citytours' ),
    			'update_item'         => __( 'Update Hotels', 'citytours' ),
    			'search_items'        => __( 'Search Hotels', 'citytours' ),
    			'not_found'           => __( 'No Hotels found', 'citytours' ),
    			'not_found_in_trash'  => __( 'No Hotels found in Trash', 'citytours' ),
    		);
    		$args = array(
    			'label'               => __( 'hotel', 'citytours' ),
    			'description'         => __( 'Hotel information pages', 'citytours' ),
    			'labels'              => $labels,
    			'supports'            => array( 'title', 'editor', 'thumbnail', 'author' ),
    			'taxonomies'          => array( ),
    			'hierarchical'        => false,
    			'public'              => true,
    			'show_ui'             => true,
    			'show_in_menu'        => true,
    			'show_in_nav_menus'   => true,
    			'show_in_admin_bar'   => true,
    			'can_export'          => true,
    			'has_archive'         => true,
    			'exclude_from_search' => false,
    			'publicly_queryable'  => true,
    		);
    		register_post_type( 'hotel', $args );
    	}
    }
    
    /*
     * register room post type
     */
    if ( ! function_exists( 'ct_register_room_type_post_type' ) ) {
    	function ct_register_room_type_post_type() {
    		$labels = array(
    			'name'                => _x( 'Room Types', 'Post Type Name', 'citytours' ),
    			'singular_name'       => _x( 'Room Type', 'Post Type Singular Name', 'citytours' ),
    			'menu_name'           => __( 'Room Types', 'citytours' ),
    			'all_items'           => __( 'All Room Types', 'citytours' ),
    			'view_item'           => __( 'View Room Type', 'citytours' ),
    			'add_new_item'        => __( 'Add New Room', 'citytours' ),
    			'add_new'             => __( 'New Room Types', 'citytours' ),
    			'edit_item'           => __( 'Edit Room Types', 'citytours' ),
    			'update_item'         => __( 'Update Room Types', 'citytours' ),
    			'search_items'        => __( 'Search Room Types', 'citytours' ),
    			'not_found'           => __( 'No Room Types found', 'citytours' ),
    			'not_found_in_trash'  => __( 'No Room Types found in Trash', 'citytours' ),
    		);
    		$args = array(
    			'label'               => __( 'room types', 'citytours' ),
    			'description'         => __( 'Room Type information pages', 'citytours' ),
    			'labels'              => $labels,
    			'supports'            => array( 'title', 'editor', 'thumbnail', 'author' ),
    			'taxonomies'          => array( ),
    			'hierarchical'        => false,
    			'public'              => true,
    			'show_ui'             => true,
    			//'show_in_menu'        => 'edit.php?post_type=hotel',
    			'show_in_menu'        => true,
    			'show_in_nav_menus'   => true,
    			'show_in_admin_bar'   => true,
    			'can_export'          => true,
    			'has_archive'         => false,
    			'exclude_from_search' => false,
    			'publicly_queryable'  => true,
    			'rewrite' => array('slug' => 'room-type', 'with_front' => true)
    		);
    		if ( current_user_can( 'manage_options' ) ) {
    			$args['show_in_menu'] = 'edit.php?post_type=hotel';
    		}
    		register_post_type( 'room_type', $args );
    	}
    }
    
    /*
     * register District taxonomy
     */
    if ( ! function_exists( 'ct_register_hotel_district_taxonomy' ) ) {
    	function ct_register_hotel_district_taxonomy(){
    		$labels = array(
    				'name'              => _x( 'Districts', 'taxonomy general name', 'citytours' ),
    				'singular_name'     => _x( 'District', 'taxonomy singular name', 'citytours' ),
    				'menu_name'         => __( 'Districts', 'citytours' ),
    				'all_items'         => __( 'All Districts', 'citytours' ),
    				'parent_item'                => null,
    				'parent_item_colon'          => null,
    				'new_item_name'     => __( 'New District', 'citytours' ),
    				'add_new_item'      => __( 'Add New District', 'citytours' ),
    				'edit_item'         => __( 'Edit District', 'citytours' ),
    				'update_item'       => __( 'Update District', 'citytours' ),
    				'separate_items_with_commas' => __( 'Separate Districts with commas', 'citytours' ),
    				'search_items'      => __( 'Search Districts', 'citytours' ),
    				'add_or_remove_items'        => __( 'Add or remove Districts', 'citytours' ),
    				'choose_from_most_used'      => __( 'Choose from the most used Districts', 'citytours' ),
    				'not_found'                  => __( 'No Districts found.', 'citytours' ),
    			);
    		$args = array(
    				'labels'            => $labels,
    				'hierarchical'      => true,
    				'show_ui'           => true,
    				'show_admin_column' => true,
    				'meta_box_cb'       => false
    			);
    		register_taxonomy( 'district', array( 'hotel' ), $args );
    	}
    }
    
    /*
     * register hotel facility taxonomy
     */
    if ( ! function_exists( 'ct_register_hotel_facility_taxonomy' ) ) {
    	function ct_register_hotel_facility_taxonomy(){
    		$labels = array(
    				'name'              => _x( 'Hotel Facilities', 'taxonomy general name', 'citytours' ),
    				'singular_name'     => _x( 'Hotel Facility', 'taxonomy singular name', 'citytours' ),
    				'menu_name'         => __( 'Hotel Facilities', 'citytours' ),
    				'all_items'         => __( 'All Hotel Facilities', 'citytours' ),
    				'parent_item'                => null,
    				'parent_item_colon'          => null,
    				'new_item_name'     => __( 'New Hotel Facility', 'citytours' ),
    				'add_new_item'      => __( 'Add New Hotel Facility', 'citytours' ),
    				'edit_item'         => __( 'Edit Hotel Facility', 'citytours' ),
    				'update_item'       => __( 'Update Hotel Facility', 'citytours' ),
    				'separate_items_with_commas' => __( 'Separate hotel facilities with commas', 'citytours' ),
    				'search_items'      => __( 'Search Hotel Facilities', 'citytours' ),
    				'add_or_remove_items'        => __( 'Add or remove hotel facilities', 'citytours' ),
    				'choose_from_most_used'      => __( 'Choose from the most used hotel facilities', 'citytours' ),
    				'not_found'                  => __( 'No hotel facilities found.', 'citytours' ),
    			);
    		$args = array(
    				'labels'            => $labels,
    				'hierarchical'      => false,
    				'show_ui'           => true,
    				'show_admin_column' => true,
    				'meta_box_cb'       => false
    			);
    		register_taxonomy( 'hotel_facility', array( 'room_type', 'hotel' ), $args );
    	}
    }
    
    // Post Types for Tour
    /*
     * register tour post type
     */
    if ( ! function_exists( 'ct_register_tour_post_type' ) ) {
    	function ct_register_tour_post_type() {
    		$labels = array(
    			'name'                => _x( 'Tours', 'Post Type General Name', 'citytours' ),
    			'singular_name'       => _x( 'Tour', 'Post Type Singular Name', 'citytours' ),
    			'menu_name'           => __( 'Tours', 'citytours' ),
    			'all_items'           => __( 'All Tours', 'citytours' ),
    			'view_item'           => __( 'View Tour', 'citytours' ),
    			'add_new_item'        => __( 'Add New Tour', 'citytours' ),
    			'add_new'             => __( 'New Tour', 'citytours' ),
    			'edit_item'           => __( 'Edit Tours', 'citytours' ),
    			'update_item'         => __( 'Update Tours', 'citytours' ),
    			'search_items'        => __( 'Search Tours', 'citytours' ),
    			'not_found'           => __( 'No Tours found', 'citytours' ),
    			'not_found_in_trash'  => __( 'No Tours found in Trash', 'citytours' ),
    		);
    		$args = array(
    			'label'               => __( 'tour', 'citytours' ),
    			'description'         => __( 'Tour information pages', 'citytours' ),
    			'labels'              => $labels,
    			'supports'            => array( 'title', 'editor', 'thumbnail', 'author' ),
    			'taxonomies'          => array( ),
    			'hierarchical'        => false,
    			'public'              => true,
    			'show_ui'             => true,
    			'show_in_menu'        => true,
    			'show_in_nav_menus'   => true,
    			'show_in_admin_bar'   => true,
    			'can_export'          => true,
    			'has_archive'         => true,
    			'exclude_from_search' => false,
    			'publicly_queryable'  => true,
    		);
    		register_post_type( 'tour', $args );
    	}
    }
    
    /*
     * register tour type taxonomy
     */
    if ( ! function_exists( 'ct_register_tour_type_taxonomy' ) ) {
    	function ct_register_tour_type_taxonomy(){
    		$labels = array(
    				'name'              => _x( 'Tour Types', 'taxonomy general name', 'citytours' ),
    				'singular_name'     => _x( 'Tour Type', 'taxonomy singular name', 'citytours' ),
    				'menu_name'         => __( 'Tour Types', 'citytours' ),
    				'all_items'         => __( 'All Tour Types', 'citytours' ),
    				'parent_item'                => null,
    				'parent_item_colon'          => null,
    				'new_item_name'     => __( 'New Tour Type', 'citytours' ),
    				'add_new_item'      => __( 'Add New Tour Type', 'citytours' ),
    				'edit_item'         => __( 'Edit Tour Type', 'citytours' ),
    				'update_item'       => __( 'Update Tour Type', 'citytours' ),
    				'separate_items_with_commas' => __( 'Separate tour types with commas', 'citytours' ),
    				'search_items'      => __( 'Search Tour Types', 'citytours' ),
    				'add_or_remove_items'        => __( 'Add or remove tour types', 'citytours' ),
    				'choose_from_most_used'      => __( 'Choose from the most used tour types', 'citytours' ),
    				'not_found'                  => __( 'No tour types found.', 'citytours' ),
    			);
    		$args = array(
    				'labels'            => $labels,
    				'hierarchical'      => true,
    				'show_ui'           => true,
    				'show_admin_column' => true,
    				'meta_box_cb'       => false,
    				'rewrite' => array('slug' => 'tour-type', 'with_front' => true)
    			);
    		register_taxonomy( 'tour_type', array( 'tour' ), $args );
    	}
    }
    
    /*
     * register tour facility taxonomy
     */
    if ( ! function_exists( 'ct_register_tour_facility_taxonomy' ) ) {
    	function ct_register_tour_facility_taxonomy(){
    		$labels = array(
    				'name'              => _x( 'Tour Facilities', 'taxonomy general name', 'citytours' ),
    				'singular_name'     => _x( 'Tour Facility', 'taxonomy singular name', 'citytours' ),
    				'menu_name'         => __( 'Tour Facilities', 'citytours' ),
    				'all_items'         => __( 'All Tour Facilities', 'citytours' ),
    				'parent_item'                => null,
    				'parent_item_colon'          => null,
    				'new_item_name'     => __( 'New Tour Facility', 'citytours' ),
    				'add_new_item'      => __( 'Add New Tour Facility', 'citytours' ),
    				'edit_item'         => __( 'Edit Tour Facility', 'citytours' ),
    				'update_item'       => __( 'Update Tour Facility', 'citytours' ),
    				'separate_items_with_commas' => __( 'Separate tour facilities with commas', 'citytours' ),
    				'search_items'      => __( 'Search Tour Facilities', 'citytours' ),
    				'add_or_remove_items'        => __( 'Add or remove tour facilities', 'citytours' ),
    				'choose_from_most_used'      => __( 'Choose from the most used tour facilities', 'citytours' ),
    				'not_found'                  => __( 'No tour facilities found.', 'citytours' ),
    			);
    		$args = array(
    				'labels'            => $labels,
    				'hierarchical'      => false,
    				'show_ui'           => true,
    				'show_admin_column' => true,
    				'meta_box_cb'       => false
    			);
    		register_taxonomy( 'tour_facility', array( 'tour' ), $args );
    	}
    }
    
    /*
     * init custom post_types
     */
    if ( ! function_exists( 'ct_init_custom_post_types' ) ) {
    	function ct_init_custom_post_types(){
    		global $ct_options;
    		if ( empty( $ct_options['disable_hotel'] ) ) {
    			ct_register_hotel_post_type();
    			ct_register_room_type_post_type();
    			ct_register_hotel_district_taxonomy();
    			ct_register_hotel_facility_taxonomy();
    		}
    
    		if ( empty( $ct_options['disable_tour'] ) ) {
    			ct_register_tour_post_type();
    			ct_register_tour_type_taxonomy();
    			ct_register_tour_facility_taxonomy();
    		}
    	}
    }
    
    /*
     * hide Add Hotel Submenu on sidebar
     */
    if ( ! function_exists( 'ct_hd_add_hotel_box' ) ) {
    	function ct_hd_add_hotel_box() {
    		if ( current_user_can( 'manage_options' ) ) {
    			global $submenu;
    			unset($submenu['edit.php?post_type=hotel'][10]);
    		}
    	}
    }
    
    add_action( 'init', 'ct_init_custom_post_types', 0 );
    add_action('admin_menu', 'ct_hd_add_hotel_box');
    Thread Starter gj_ramos

    (@gj_ramos)

    If I deactivate all, the site doesn’t load. There’s a required plugin called CTBooking. When I activate only that the site loads normally and works. If I activate only CTBooking and Polylang, it gives the same error again and same faulty behavior for other pages.

    Thread Starter gj_ramos

    (@gj_ramos)

    Yes, as far as I can tell, the 500 error is only on static frontpage. When I access the About, it actually returns a page, although with a different menu (I’m really not sure where it gets it).

    PHP version 5.4.43.

    If necessary, I can enable the plugin so you can check. The site is: tainafoodtours.com

    Thread Starter gj_ramos

    (@gj_ramos)

    That’s really not ideal because the site is already live. But if there’s no other option, I can do it. Do you have any other idea?

    Will do.
    Thanks for the answer.

    Hi,
    I’m having the same problem, when I activate the plugin, the frontpage never shows (static frontpage). It’s giving me a 500 Internal server error.

    When I try accessing a different page, like About, the page loads with content but the menu items are not correct.

    My Permalink settings are “day and name”. As for the Polylang URL settings, I’ve tried many combinations but never with success. With and without language code or “/language/”, etc..

    Any help would be great! Thanks.

    Thread Starter gj_ramos

    (@gj_ramos)

    Thank you very much, Kathryn.
    I will do just that.

Viewing 11 replies - 1 through 11 (of 11 total)