Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'country state city'

Viewing 25 results - 1 through 25 (of 30 total)
  • Author
    Search Results
  • #318859
    leaftechakshay
    Participant

    i have posted an error log for refrance

    [12-May-2021 10:18:40 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT
    *
    FROM wp_aioseo_notifications
    WHERE 1 = 1 AND
    notification_name = ‘deprecated-filters’
    /* 1 = 1 */ made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, AIOSEO\Plugin\Common\Utils\Filter->flagDeprecated, AIOSEO\Plugin\Common\Models\Notification::getNotificationByName, AIOSEO\Plugin\Common\Utils\Database->run
    [12-May-2021 10:18:40 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT
    *
    FROM wp_aioseo_notifications
    WHERE 1 = 1 AND
    notification_name = ‘deprecated-filters-v2’
    /* 1 = 1 */ made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, AIOSEO\Plugin\Common\Utils\Filter->flagDeprecated, AIOSEO\Plugin\Common\Models\Notification::getNotificationByName, AIOSEO\Plugin\Common\Utils\Database->run
    [13-May-2021 05:24:12 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT
    *
    FROM wp_aioseo_notifications
    WHERE 1 = 1 AND
    notification_name = ‘deprecated-filters’
    /* 1 = 1 */ made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, AIOSEO\Plugin\Common\Utils\Filter->flagDeprecated, AIOSEO\Plugin\Common\Models\Notification::getNotificationByName, AIOSEO\Plugin\Common\Utils\Database->run
    [13-May-2021 05:24:12 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT
    *
    FROM wp_aioseo_notifications
    WHERE 1 = 1 AND
    notification_name = ‘deprecated-filters-v2’
    /* 1 = 1 */ made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, AIOSEO\Plugin\Common\Utils\Filter->flagDeprecated, AIOSEO\Plugin\Common\Models\Notification::getNotificationByName, AIOSEO\Plugin\Common\Utils\Database->run
    [13-May-2021 10:38:33 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT
    *
    FROM wp_aioseo_notifications
    WHERE 1 = 1 AND
    notification_name = ‘deprecated-filters’
    /* 1 = 1 */ made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, AIOSEO\Plugin\Common\Utils\Filter->flagDeprecated, AIOSEO\Plugin\Common\Models\Notification::getNotificationByName, AIOSEO\Plugin\Common\Utils\Database->run
    [13-May-2021 10:38:33 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT
    *
    FROM wp_aioseo_notifications
    WHERE 1 = 1 AND
    notification_name = ‘deprecated-filters-v2’
    /* 1 = 1 */ made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, AIOSEO\Plugin\Common\Utils\Filter->flagDeprecated, AIOSEO\Plugin\Common\Models\Notification::getNotificationByName, AIOSEO\Plugin\Common\Utils\Database->run
    [13-May-2021 10:38:34 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT
    *
    FROM wp_aioseo_notifications
    WHERE 1 = 1 AND
    notification_name = ‘deprecated-filters’
    /* 1 = 1 */ made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, AIOSEO\Plugin\Common\Utils\Filter->flagDeprecated, AIOSEO\Plugin\Common\Models\Notification::getNotificationByName, AIOSEO\Plugin\Common\Utils\Database->run
    [13-May-2021 10:38:34 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SHOW COLUMNS FROM wp_aioseo_notifications made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, AIOSEO\Plugin\Common\Utils\Filter->flagDeprecated, AIOSEO\Plugin\Common\Models\Notification::getNotificationByName, AIOSEO\Plugin\Common\Utils\Database->model, AIOSEO\Plugin\Common\Models\Model->__construct, AIOSEO\Plugin\Common\Models\Model->getColumns, AIOSEO\Plugin\Common\Utils\Database->execute
    [13-May-2021 10:38:34 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT
    *
    FROM wp_aioseo_notifications
    WHERE 1 = 1 AND
    notification_name = ‘deprecated-filters-v2’
    /* 1 = 1 */ made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, AIOSEO\Plugin\Common\Utils\Filter->flagDeprecated, AIOSEO\Plugin\Common\Models\Notification::getNotificationByName, AIOSEO\Plugin\Common\Utils\Database->run
    [13-May-2021 10:38:34 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SHOW COLUMNS FROM wp_aioseo_notifications made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, AIOSEO\Plugin\Common\Utils\Filter->flagDeprecated, AIOSEO\Plugin\Common\Models\Notification::getNotificationByName, AIOSEO\Plugin\Common\Utils\Database->model, AIOSEO\Plugin\Common\Models\Model->__construct, AIOSEO\Plugin\Common\Models\Model->getColumns, AIOSEO\Plugin\Common\Utils\Database->execute
    [15-May-2021 06:10:27 UTC] product_type was called incorrectly. Product properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action(‘wc_ajax_add_to_cart’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::add_to_cart, WC_Cart->add_to_cart, do_action(‘woocommerce_add_to_cart’), WP_Hook->do_action, WP_Hook->apply_filters, JNews_Frontend_Package->product_added, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.
    [17-May-2021 15:05:41 UTC] product_type was called incorrectly. Product properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action(‘wc_ajax_add_to_cart’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::add_to_cart, WC_Cart->add_to_cart, do_action(‘woocommerce_add_to_cart’), WP_Hook->do_action, WP_Hook->apply_filters, JNews_Frontend_Package->product_added, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.
    [17-May-2021 15:05:46 UTC] product_type was called incorrectly. Product properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action(‘wc_ajax_add_to_cart’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::add_to_cart, WC_Cart->add_to_cart, do_action(‘woocommerce_add_to_cart’), WP_Hook->do_action, WP_Hook->apply_filters, JNews_Frontend_Package->product_added, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.
    [17-May-2021 15:05:46 UTC] product_type was called incorrectly. Product properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action(‘wc_ajax_add_to_cart’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::add_to_cart, WC_Cart->add_to_cart, do_action(‘woocommerce_add_to_cart’), WP_Hook->do_action, WP_Hook->apply_filters, JNews_Frontend_Package->product_added, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.
    [20-May-2021 07:41:57 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT wp_posts.* FROM wp_posts WHERE ID IN (391,396) made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Cart_Session->maybe_set_cart_cookies, WC_Cart->is_empty, WC_Cart->get_cart, WC_Cart_Session->get_cart_from_session, _prime_post_caches
    [20-May-2021 07:41:57 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT * FROM wp_posts WHERE ID = 391 LIMIT 1 made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Cart_Session->maybe_set_cart_cookies, WC_Cart->is_empty, WC_Cart->get_cart, WC_Cart_Session->get_cart_from_session, wc_get_product, WC_Product_Factory->get_product, WC_Product_Factory::get_product_type, WC_Data_Store->__call, WC_Product_Data_Store_CPT->get_product_type, get_post_type, get_post, WP_Post::get_instance
    [20-May-2021 07:41:57 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT * FROM wp_posts WHERE ID = 391 LIMIT 1 made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Cart_Session->maybe_set_cart_cookies, WC_Cart->is_empty, WC_Cart->get_cart, WC_Cart_Session->get_cart_from_session, wc_get_product, WC_Product_Factory->get_product, WC_Product_Simple->__construct, WC_Product->__construct, WC_Data_Store->read, WC_Product_Data_Store_CPT->read, get_post, WP_Post::get_instance
    [20-May-2021 07:41:57 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT * FROM wp_posts WHERE ID = 396 LIMIT 1 made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Cart_Session->maybe_set_cart_cookies, WC_Cart->is_empty, WC_Cart->get_cart, WC_Cart_Session->get_cart_from_session, wc_get_product, WC_Product_Factory->get_product, WC_Product_Factory::get_product_type, WC_Data_Store->__call, WC_Product_Data_Store_CPT->get_product_type, get_post_type, get_post, WP_Post::get_instance
    [20-May-2021 07:41:57 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT * FROM wp_posts WHERE ID = 396 LIMIT 1 made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Cart_Session->maybe_set_cart_cookies, WC_Cart->is_empty, WC_Cart->get_cart, WC_Cart_Session->get_cart_from_session, wc_get_product, WC_Product_Factory->get_product, WC_Product_Simple->__construct, WC_Product->__construct, WC_Data_Store->read, WC_Product_Data_Store_CPT->read, get_post, WP_Post::get_instance
    [20-May-2021 07:41:57 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT
    *
    FROM wp_aioseo_notifications
    WHERE 1 = 1 AND
    notification_name = ‘deprecated-filters’
    /* 1 = 1 */ made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, AIOSEO\Plugin\Common\Utils\Filter->flagDeprecated, AIOSEO\Plugin\Common\Models\Notification::getNotificationByName, AIOSEO\Plugin\Common\Utils\Database->run
    [20-May-2021 07:41:57 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT
    *
    FROM wp_aioseo_notifications
    WHERE 1 = 1 AND
    notification_name = ‘deprecated-filters-v2’
    /* 1 = 1 */ made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, AIOSEO\Plugin\Common\Utils\Filter->flagDeprecated, AIOSEO\Plugin\Common\Models\Notification::getNotificationByName, AIOSEO\Plugin\Common\Utils\Database->run
    [20-May-2021 07:41:57 UTC] WordPress database error Commands out of sync; you can’t run this command now for query INSERT INTO wp_woocommerce_sessions (session_key, session_value, session_expiry) VALUES (‘1’, ‘a:7:{s:4:\”cart\”;s:6:\”a:0:{}\”;s:11:\”cart_totals\”;s:396:\”a:15:{s:8:\”subtotal\”;s:4:\”2200\”;s:12:\”subtotal_tax\”;d:0;s:14:\”shipping_total\”;s:1:\”0\”;s:12:\”shipping_tax\”;i:0;s:14:\”shipping_taxes\”;a:0:{}s:14:\”discount_total\”;i:0;s:12:\”discount_tax\”;i:0;s:19:\”cart_contents_total\”;s:4:\”2200\”;s:17:\”cart_contents_tax\”;i:0;s:19:\”cart_contents_taxes\”;a:0:{}s:9:\”fee_total\”;s:1:\”0\”;s:7:\”fee_tax\”;i:0;s:9:\”fee_taxes\”;a:0:{}s:5:\”total\”;s:4:\”2200\”;s:9:\”total_tax\”;d:0;}\”;s:15:\”applied_coupons\”;s:6:\”a:0:{}\”;s:22:\”coupon_discount_totals\”;s:6:\”a:0:{}\”;s:26:\”coupon_discount_tax_totals\”;s:6:\”a:0:{}\”;s:21:\”removed_cart_contents\”;s:6:\”a:0:{}\”;s:8:\”customer\”;s:740:\”a:26:{s:2:\”id\”;s:1:\”1\”;s:13:\”date_modified\”;s:25:\”2021-05-11T16:56:32+00:00\”;s:8:\”postcode\”;s:0:\”\”;s:4:\”city\”;s:0:\”\”;s:9:\”address_1\”;s:0:\”\”;s:7:\”address\”;s:0:\”\”;s:9:\”address_2\”;s:0:\”\”;s:5:\”state\”;s:2:\”MH\”;s:7:\”country\”;s:2:\”IN\”;s:17:\”shipping_postcode\”;s:0:\”\”;s:13:\”shipping_city\”;s:0:\”\”;s:18:\”shipping_address_1\”;s:0:\”\”;s:16:\”shipping_address\”;s:0:\”\”;s:18:\”shipping_address_2\”;s:0:\”\”;s:14:\”shipping_state\”;s:2:\”MH\”;s:16:\”shipping_country\”;s:2:\”IN\”;s:13:\”is_vat_exempt\”;s:0:\”\”;s:19:\”calculated_shipping\”;s:0:\”\”;s:10:\”first_name\”;s:0:\”\”;s:9:\”last_name\”;s:0:\”\”;s:7:\”company\”;s:0:\”\”;s:5:\”phone\”;s:0:\”\”;s:5:\”email\”;s:22:\”leaftech1989@gmail.com\”;s:19:\”shipping_first_name\”;s:0:\”\”;s:18:\”shipping_last_name\”;s:0:\”\”;s:16:\”shipping_company\”;s:0:\”\”;}\”;}’, 1621665868)
    ON DUPLICATE KEY UPDATE session_value = VALUES(session_value), session_expiry = VALUES(session_expiry) made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Session_Handler->save_data
    [20-May-2021 07:41:57 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SHOW FULL COLUMNS FROM wp_woocommerce_sessions made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Session_Handler->save_data, WC_Session_Handler->delete_session
    [20-May-2021 08:08:14 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT wp_posts.* FROM wp_posts WHERE ID IN (391,396) made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Cart_Session->maybe_set_cart_cookies, WC_Cart->is_empty, WC_Cart->get_cart, WC_Cart_Session->get_cart_from_session, _prime_post_caches
    [20-May-2021 08:08:14 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT * FROM wp_posts WHERE ID = 391 LIMIT 1 made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Cart_Session->maybe_set_cart_cookies, WC_Cart->is_empty, WC_Cart->get_cart, WC_Cart_Session->get_cart_from_session, wc_get_product, WC_Product_Factory->get_product, WC_Product_Factory::get_product_type, WC_Data_Store->__call, WC_Product_Data_Store_CPT->get_product_type, get_post_type, get_post, WP_Post::get_instance
    [20-May-2021 08:08:14 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT * FROM wp_posts WHERE ID = 391 LIMIT 1 made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Cart_Session->maybe_set_cart_cookies, WC_Cart->is_empty, WC_Cart->get_cart, WC_Cart_Session->get_cart_from_session, wc_get_product, WC_Product_Factory->get_product, WC_Product_Simple->__construct, WC_Product->__construct, WC_Data_Store->read, WC_Product_Data_Store_CPT->read, get_post, WP_Post::get_instance
    [20-May-2021 08:08:14 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT * FROM wp_posts WHERE ID = 396 LIMIT 1 made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Cart_Session->maybe_set_cart_cookies, WC_Cart->is_empty, WC_Cart->get_cart, WC_Cart_Session->get_cart_from_session, wc_get_product, WC_Product_Factory->get_product, WC_Product_Factory::get_product_type, WC_Data_Store->__call, WC_Product_Data_Store_CPT->get_product_type, get_post_type, get_post, WP_Post::get_instance
    [20-May-2021 08:08:14 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT * FROM wp_posts WHERE ID = 396 LIMIT 1 made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Cart_Session->maybe_set_cart_cookies, WC_Cart->is_empty, WC_Cart->get_cart, WC_Cart_Session->get_cart_from_session, wc_get_product, WC_Product_Factory->get_product, WC_Product_Simple->__construct, WC_Product->__construct, WC_Data_Store->read, WC_Product_Data_Store_CPT->read, get_post, WP_Post::get_instance
    [20-May-2021 08:08:14 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT
    *
    FROM wp_aioseo_notifications
    WHERE 1 = 1 AND
    notification_name = ‘deprecated-filters’
    /* 1 = 1 */ made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, AIOSEO\Plugin\Common\Utils\Filter->flagDeprecated, AIOSEO\Plugin\Common\Models\Notification::getNotificationByName, AIOSEO\Plugin\Common\Utils\Database->run
    [20-May-2021 08:08:14 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT
    *
    FROM wp_aioseo_notifications
    WHERE 1 = 1 AND
    notification_name = ‘deprecated-filters-v2’
    /* 1 = 1 */ made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, AIOSEO\Plugin\Common\Utils\Filter->flagDeprecated, AIOSEO\Plugin\Common\Models\Notification::getNotificationByName, AIOSEO\Plugin\Common\Utils\Database->run
    [20-May-2021 08:08:14 UTC] WordPress database error Commands out of sync; you can’t run this command now for query INSERT INTO wp_woocommerce_sessions (session_key, session_value, session_expiry) VALUES (‘1’, ‘a:7:{s:4:\”cart\”;s:6:\”a:0:{}\”;s:11:\”cart_totals\”;s:396:\”a:15:{s:8:\”subtotal\”;s:4:\”2200\”;s:12:\”subtotal_tax\”;d:0;s:14:\”shipping_total\”;s:1:\”0\”;s:12:\”shipping_tax\”;i:0;s:14:\”shipping_taxes\”;a:0:{}s:14:\”discount_total\”;i:0;s:12:\”discount_tax\”;i:0;s:19:\”cart_contents_total\”;s:4:\”2200\”;s:17:\”cart_contents_tax\”;i:0;s:19:\”cart_contents_taxes\”;a:0:{}s:9:\”fee_total\”;s:1:\”0\”;s:7:\”fee_tax\”;i:0;s:9:\”fee_taxes\”;a:0:{}s:5:\”total\”;s:4:\”2200\”;s:9:\”total_tax\”;d:0;}\”;s:15:\”applied_coupons\”;s:6:\”a:0:{}\”;s:22:\”coupon_discount_totals\”;s:6:\”a:0:{}\”;s:26:\”coupon_discount_tax_totals\”;s:6:\”a:0:{}\”;s:21:\”removed_cart_contents\”;s:6:\”a:0:{}\”;s:8:\”customer\”;s:740:\”a:26:{s:2:\”id\”;s:1:\”1\”;s:13:\”date_modified\”;s:25:\”2021-05-11T16:56:32+00:00\”;s:8:\”postcode\”;s:0:\”\”;s:4:\”city\”;s:0:\”\”;s:9:\”address_1\”;s:0:\”\”;s:7:\”address\”;s:0:\”\”;s:9:\”address_2\”;s:0:\”\”;s:5:\”state\”;s:2:\”MH\”;s:7:\”country\”;s:2:\”IN\”;s:17:\”shipping_postcode\”;s:0:\”\”;s:13:\”shipping_city\”;s:0:\”\”;s:18:\”shipping_address_1\”;s:0:\”\”;s:16:\”shipping_address\”;s:0:\”\”;s:18:\”shipping_address_2\”;s:0:\”\”;s:14:\”shipping_state\”;s:2:\”MH\”;s:16:\”shipping_country\”;s:2:\”IN\”;s:13:\”is_vat_exempt\”;s:0:\”\”;s:19:\”calculated_shipping\”;s:0:\”\”;s:10:\”first_name\”;s:0:\”\”;s:9:\”last_name\”;s:0:\”\”;s:7:\”company\”;s:0:\”\”;s:5:\”phone\”;s:0:\”\”;s:5:\”email\”;s:22:\”leaftech1989@gmail.com\”;s:19:\”shipping_first_name\”;s:0:\”\”;s:18:\”shipping_last_name\”;s:0:\”\”;s:16:\”shipping_company\”;s:0:\”\”;}\”;}’, 1621665868)
    ON DUPLICATE KEY UPDATE session_value = VALUES(session_value), session_expiry = VALUES(session_expiry) made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Session_Handler->save_data
    [20-May-2021 08:08:14 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SHOW FULL COLUMNS FROM wp_woocommerce_sessions made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Session_Handler->save_data, WC_Session_Handler->delete_session
    [20-May-2021 08:08:15 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT
    *
    FROM wp_aioseo_notifications
    WHERE 1 = 1 AND
    notification_name = ‘deprecated-filters’
    /* 1 = 1 */ made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, AIOSEO\Plugin\Common\Utils\Filter->flagDeprecated, AIOSEO\Plugin\Common\Models\Notification::getNotificationByName, AIOSEO\Plugin\Common\Utils\Database->run
    [20-May-2021 08:08:15 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SHOW COLUMNS FROM wp_aioseo_notifications made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, AIOSEO\Plugin\Common\Utils\Filter->flagDeprecated, AIOSEO\Plugin\Common\Models\Notification::getNotificationByName, AIOSEO\Plugin\Common\Utils\Database->model, AIOSEO\Plugin\Common\Models\Model->__construct, AIOSEO\Plugin\Common\Models\Model->getColumns, AIOSEO\Plugin\Common\Utils\Database->execute
    [20-May-2021 08:08:15 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT
    *
    FROM wp_aioseo_notifications
    WHERE 1 = 1 AND
    notification_name = ‘deprecated-filters-v2’
    /* 1 = 1 */ made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, AIOSEO\Plugin\Common\Utils\Filter->flagDeprecated, AIOSEO\Plugin\Common\Models\Notification::getNotificationByName, AIOSEO\Plugin\Common\Utils\Database->run
    [20-May-2021 08:08:15 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SHOW COLUMNS FROM wp_aioseo_notifications made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, AIOSEO\Plugin\Common\Utils\Filter->flagDeprecated, AIOSEO\Plugin\Common\Models\Notification::getNotificationByName, AIOSEO\Plugin\Common\Utils\Database->model, AIOSEO\Plugin\Common\Models\Model->__construct, AIOSEO\Plugin\Common\Models\Model->getColumns, AIOSEO\Plugin\Common\Utils\Database->execute
    [20-May-2021 08:08:29 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT
    *
    FROM wp_aioseo_notifications
    WHERE 1 = 1 AND
    notification_name = ‘deprecated-filters’
    /* 1 = 1 */ made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, AIOSEO\Plugin\Common\Utils\Filter->flagDeprecated, AIOSEO\Plugin\Common\Models\Notification::getNotificationByName, AIOSEO\Plugin\Common\Utils\Database->run
    [20-May-2021 08:08:29 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SHOW COLUMNS FROM wp_aioseo_notifications made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, AIOSEO\Plugin\Common\Utils\Filter->flagDeprecated, AIOSEO\Plugin\Common\Models\Notification::getNotificationByName, AIOSEO\Plugin\Common\Utils\Database->model, AIOSEO\Plugin\Common\Models\Model->__construct, AIOSEO\Plugin\Common\Models\Model->getColumns, AIOSEO\Plugin\Common\Utils\Database->execute
    [20-May-2021 08:08:29 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT
    *
    FROM wp_aioseo_notifications
    WHERE 1 = 1 AND
    notification_name = ‘deprecated-filters-v2’
    /* 1 = 1 */ made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, AIOSEO\Plugin\Common\Utils\Filter->flagDeprecated, AIOSEO\Plugin\Common\Models\Notification::getNotificationByName, AIOSEO\Plugin\Common\Utils\Database->run
    [20-May-2021 08:08:29 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SHOW COLUMNS FROM wp_aioseo_notifications made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, AIOSEO\Plugin\Common\Utils\Filter->flagDeprecated, AIOSEO\Plugin\Common\Models\Notification::getNotificationByName, AIOSEO\Plugin\Common\Utils\Database->model, AIOSEO\Plugin\Common\Models\Model->__construct, AIOSEO\Plugin\Common\Models\Model->getColumns, AIOSEO\Plugin\Common\Utils\Database->execute
    [20-May-2021 08:08:30 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT wp_posts.* FROM wp_posts WHERE ID IN (391,396) made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Cart_Session->maybe_set_cart_cookies, WC_Cart->is_empty, WC_Cart->get_cart, WC_Cart_Session->get_cart_from_session, _prime_post_caches
    [20-May-2021 08:08:30 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT * FROM wp_posts WHERE ID = 391 LIMIT 1 made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Cart_Session->maybe_set_cart_cookies, WC_Cart->is_empty, WC_Cart->get_cart, WC_Cart_Session->get_cart_from_session, wc_get_product, WC_Product_Factory->get_product, WC_Product_Factory::get_product_type, WC_Data_Store->__call, WC_Product_Data_Store_CPT->get_product_type, get_post_type, get_post, WP_Post::get_instance
    [20-May-2021 08:08:30 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT * FROM wp_posts WHERE ID = 391 LIMIT 1 made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Cart_Session->maybe_set_cart_cookies, WC_Cart->is_empty, WC_Cart->get_cart, WC_Cart_Session->get_cart_from_session, wc_get_product, WC_Product_Factory->get_product, WC_Product_Simple->__construct, WC_Product->__construct, WC_Data_Store->read, WC_Product_Data_Store_CPT->read, get_post, WP_Post::get_instance
    [20-May-2021 08:08:30 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT * FROM wp_posts WHERE ID = 396 LIMIT 1 made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Cart_Session->maybe_set_cart_cookies, WC_Cart->is_empty, WC_Cart->get_cart, WC_Cart_Session->get_cart_from_session, wc_get_product, WC_Product_Factory->get_product, WC_Product_Factory::get_product_type, WC_Data_Store->__call, WC_Product_Data_Store_CPT->get_product_type, get_post_type, get_post, WP_Post::get_instance
    [20-May-2021 08:08:30 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT * FROM wp_posts WHERE ID = 396 LIMIT 1 made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Cart_Session->maybe_set_cart_cookies, WC_Cart->is_empty, WC_Cart->get_cart, WC_Cart_Session->get_cart_from_session, wc_get_product, WC_Product_Factory->get_product, WC_Product_Simple->__construct, WC_Product->__construct, WC_Data_Store->read, WC_Product_Data_Store_CPT->read, get_post, WP_Post::get_instance
    [20-May-2021 08:08:30 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT
    *
    FROM wp_aioseo_notifications
    WHERE 1 = 1 AND
    notification_name = ‘deprecated-filters’
    /* 1 = 1 */ made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, AIOSEO\Plugin\Common\Utils\Filter->flagDeprecated, AIOSEO\Plugin\Common\Models\Notification::getNotificationByName, AIOSEO\Plugin\Common\Utils\Database->run
    [20-May-2021 08:08:30 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT
    *
    FROM wp_aioseo_notifications
    WHERE 1 = 1 AND
    notification_name = ‘deprecated-filters-v2’
    /* 1 = 1 */ made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, AIOSEO\Plugin\Common\Utils\Filter->flagDeprecated, AIOSEO\Plugin\Common\Models\Notification::getNotificationByName, AIOSEO\Plugin\Common\Utils\Database->run
    [20-May-2021 08:08:30 UTC] WordPress database error Commands out of sync; you can’t run this command now for query INSERT INTO wp_woocommerce_sessions (session_key, session_value, session_expiry) VALUES (‘1’, ‘a:7:{s:4:\”cart\”;s:6:\”a:0:{}\”;s:11:\”cart_totals\”;s:396:\”a:15:{s:8:\”subtotal\”;s:4:\”2200\”;s:12:\”subtotal_tax\”;d:0;s:14:\”shipping_total\”;s:1:\”0\”;s:12:\”shipping_tax\”;i:0;s:14:\”shipping_taxes\”;a:0:{}s:14:\”discount_total\”;i:0;s:12:\”discount_tax\”;i:0;s:19:\”cart_contents_total\”;s:4:\”2200\”;s:17:\”cart_contents_tax\”;i:0;s:19:\”cart_contents_taxes\”;a:0:{}s:9:\”fee_total\”;s:1:\”0\”;s:7:\”fee_tax\”;i:0;s:9:\”fee_taxes\”;a:0:{}s:5:\”total\”;s:4:\”2200\”;s:9:\”total_tax\”;d:0;}\”;s:15:\”applied_coupons\”;s:6:\”a:0:{}\”;s:22:\”coupon_discount_totals\”;s:6:\”a:0:{}\”;s:26:\”coupon_discount_tax_totals\”;s:6:\”a:0:{}\”;s:21:\”removed_cart_contents\”;s:6:\”a:0:{}\”;s:8:\”customer\”;s:740:\”a:26:{s:2:\”id\”;s:1:\”1\”;s:13:\”date_modified\”;s:25:\”2021-05-11T16:56:32+00:00\”;s:8:\”postcode\”;s:0:\”\”;s:4:\”city\”;s:0:\”\”;s:9:\”address_1\”;s:0:\”\”;s:7:\”address\”;s:0:\”\”;s:9:\”address_2\”;s:0:\”\”;s:5:\”state\”;s:2:\”MH\”;s:7:\”country\”;s:2:\”IN\”;s:17:\”shipping_postcode\”;s:0:\”\”;s:13:\”shipping_city\”;s:0:\”\”;s:18:\”shipping_address_1\”;s:0:\”\”;s:16:\”shipping_address\”;s:0:\”\”;s:18:\”shipping_address_2\”;s:0:\”\”;s:14:\”shipping_state\”;s:2:\”MH\”;s:16:\”shipping_country\”;s:2:\”IN\”;s:13:\”is_vat_exempt\”;s:0:\”\”;s:19:\”calculated_shipping\”;s:0:\”\”;s:10:\”first_name\”;s:0:\”\”;s:9:\”last_name\”;s:0:\”\”;s:7:\”company\”;s:0:\”\”;s:5:\”phone\”;s:0:\”\”;s:5:\”email\”;s:22:\”leaftech1989@gmail.com\”;s:19:\”shipping_first_name\”;s:0:\”\”;s:18:\”shipping_last_name\”;s:0:\”\”;s:16:\”shipping_company\”;s:0:\”\”;}\”;}’, 1621665868)
    ON DUPLICATE KEY UPDATE session_value = VALUES(session_value), session_expiry = VALUES(session_expiry) made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Session_Handler->save_data
    [20-May-2021 08:08:30 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SHOW FULL COLUMNS FROM wp_woocommerce_sessions made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Session_Handler->save_data, WC_Session_Handler->delete_session
    [20-May-2021 08:08:32 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT
    *
    FROM wp_aioseo_notifications
    WHERE 1 = 1 AND
    notification_name = ‘deprecated-filters’
    /* 1 = 1 */ made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, AIOSEO\Plugin\Common\Utils\Filter->flagDeprecated, AIOSEO\Plugin\Common\Models\Notification::getNotificationByName, AIOSEO\Plugin\Common\Utils\Database->run
    [20-May-2021 08:08:32 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT
    *
    FROM wp_aioseo_notifications
    WHERE 1 = 1 AND
    notification_name = ‘deprecated-filters-v2’
    /* 1 = 1 */ made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, AIOSEO\Plugin\Common\Utils\Filter->flagDeprecated, AIOSEO\Plugin\Common\Models\Notification::getNotificationByName, AIOSEO\Plugin\Common\Utils\Database->run
    [20-May-2021 08:08:39 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT
    *
    FROM wp_aioseo_notifications
    WHERE 1 = 1 AND
    notification_name = ‘conflicting-plugins’
    AND notification_name = ‘deprecated-filters’
    /* 1 = 1 */ made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, AIOSEO\Plugin\Common\Utils\Filter->flagDeprecated, AIOSEO\Plugin\Common\Models\Notification::getNotificationByName, AIOSEO\Plugin\Common\Utils\Database->run
    [20-May-2021 08:08:39 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT
    *
    FROM wp_aioseo_notifications
    WHERE 1 = 1 AND
    notification_name = ‘deprecated-filters-v2’
    /* 1 = 1 */ made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, AIOSEO\Plugin\Common\Utils\Filter->flagDeprecated, AIOSEO\Plugin\Common\Models\Notification::getNotificationByName, AIOSEO\Plugin\Common\Utils\Database->run
    [20-May-2021 08:09:02 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT wp_posts.* FROM wp_posts WHERE ID IN (391,396) made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Cart_Session->maybe_set_cart_cookies, WC_Cart->is_empty, WC_Cart->get_cart, WC_Cart_Session->get_cart_from_session, _prime_post_caches
    [20-May-2021 08:09:02 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT * FROM wp_posts WHERE ID = 391 LIMIT 1 made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Cart_Session->maybe_set_cart_cookies, WC_Cart->is_empty, WC_Cart->get_cart, WC_Cart_Session->get_cart_from_session, wc_get_product, WC_Product_Factory->get_product, WC_Product_Factory::get_product_type, WC_Data_Store->__call, WC_Product_Data_Store_CPT->get_product_type, get_post_type, get_post, WP_Post::get_instance
    [20-May-2021 08:09:02 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT * FROM wp_posts WHERE ID = 391 LIMIT 1 made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Cart_Session->maybe_set_cart_cookies, WC_Cart->is_empty, WC_Cart->get_cart, WC_Cart_Session->get_cart_from_session, wc_get_product, WC_Product_Factory->get_product, WC_Product_Simple->__construct, WC_Product->__construct, WC_Data_Store->read, WC_Product_Data_Store_CPT->read, get_post, WP_Post::get_instance
    [20-May-2021 08:09:02 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT * FROM wp_posts WHERE ID = 396 LIMIT 1 made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Cart_Session->maybe_set_cart_cookies, WC_Cart->is_empty, WC_Cart->get_cart, WC_Cart_Session->get_cart_from_session, wc_get_product, WC_Product_Factory->get_product, WC_Product_Factory::get_product_type, WC_Data_Store->__call, WC_Product_Data_Store_CPT->get_product_type, get_post_type, get_post, WP_Post::get_instance
    [20-May-2021 08:09:02 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT * FROM wp_posts WHERE ID = 396 LIMIT 1 made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Cart_Session->maybe_set_cart_cookies, WC_Cart->is_empty, WC_Cart->get_cart, WC_Cart_Session->get_cart_from_session, wc_get_product, WC_Product_Factory->get_product, WC_Product_Simple->__construct, WC_Product->__construct, WC_Data_Store->read, WC_Product_Data_Store_CPT->read, get_post, WP_Post::get_instance
    [20-May-2021 08:09:02 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT
    *
    FROM wp_aioseo_notifications
    WHERE 1 = 1 AND
    notification_name = ‘deprecated-filters’
    /* 1 = 1 */ made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, AIOSEO\Plugin\Common\Utils\Filter->flagDeprecated, AIOSEO\Plugin\Common\Models\Notification::getNotificationByName, AIOSEO\Plugin\Common\Utils\Database->run
    [20-May-2021 08:09:02 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT
    *
    FROM wp_aioseo_notifications
    WHERE 1 = 1 AND
    notification_name = ‘deprecated-filters-v2’
    /* 1 = 1 */ made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, AIOSEO\Plugin\Common\Utils\Filter->flagDeprecated, AIOSEO\Plugin\Common\Models\Notification::getNotificationByName, AIOSEO\Plugin\Common\Utils\Database->run
    [20-May-2021 08:09:02 UTC] WordPress database error Commands out of sync; you can’t run this command now for query INSERT INTO wp_woocommerce_sessions (session_key, session_value, session_expiry) VALUES (‘1’, ‘a:7:{s:4:\”cart\”;s:6:\”a:0:{}\”;s:11:\”cart_totals\”;s:396:\”a:15:{s:8:\”subtotal\”;s:4:\”2200\”;s:12:\”subtotal_tax\”;d:0;s:14:\”shipping_total\”;s:1:\”0\”;s:12:\”shipping_tax\”;i:0;s:14:\”shipping_taxes\”;a:0:{}s:14:\”discount_total\”;i:0;s:12:\”discount_tax\”;i:0;s:19:\”cart_contents_total\”;s:4:\”2200\”;s:17:\”cart_contents_tax\”;i:0;s:19:\”cart_contents_taxes\”;a:0:{}s:9:\”fee_total\”;s:1:\”0\”;s:7:\”fee_tax\”;i:0;s:9:\”fee_taxes\”;a:0:{}s:5:\”total\”;s:4:\”2200\”;s:9:\”total_tax\”;d:0;}\”;s:15:\”applied_coupons\”;s:6:\”a:0:{}\”;s:22:\”coupon_discount_totals\”;s:6:\”a:0:{}\”;s:26:\”coupon_discount_tax_totals\”;s:6:\”a:0:{}\”;s:21:\”removed_cart_contents\”;s:6:\”a:0:{}\”;s:8:\”customer\”;s:740:\”a:26:{s:2:\”id\”;s:1:\”1\”;s:13:\”date_modified\”;s:25:\”2021-05-11T16:56:32+00:00\”;s:8:\”postcode\”;s:0:\”\”;s:4:\”city\”;s:0:\”\”;s:9:\”address_1\”;s:0:\”\”;s:7:\”address\”;s:0:\”\”;s:9:\”address_2\”;s:0:\”\”;s:5:\”state\”;s:2:\”MH\”;s:7:\”country\”;s:2:\”IN\”;s:17:\”shipping_postcode\”;s:0:\”\”;s:13:\”shipping_city\”;s:0:\”\”;s:18:\”shipping_address_1\”;s:0:\”\”;s:16:\”shipping_address\”;s:0:\”\”;s:18:\”shipping_address_2\”;s:0:\”\”;s:14:\”shipping_state\”;s:2:\”MH\”;s:16:\”shipping_country\”;s:2:\”IN\”;s:13:\”is_vat_exempt\”;s:0:\”\”;s:19:\”calculated_shipping\”;s:0:\”\”;s:10:\”first_name\”;s:0:\”\”;s:9:\”last_name\”;s:0:\”\”;s:7:\”company\”;s:0:\”\”;s:5:\”phone\”;s:0:\”\”;s:5:\”email\”;s:22:\”leaftech1989@gmail.com\”;s:19:\”shipping_first_name\”;s:0:\”\”;s:18:\”shipping_last_name\”;s:0:\”\”;s:16:\”shipping_company\”;s:0:\”\”;}\”;}’, 1621665868)
    ON DUPLICATE KEY UPDATE session_value = VALUES(session_value), session_expiry = VALUES(session_expiry) made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Session_Handler->save_data
    [20-May-2021 08:09:02 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SHOW FULL COLUMNS FROM wp_woocommerce_sessions made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Session_Handler->save_data, WC_Session_Handler->delete_session
    [20-May-2021 08:09:05 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT
    *
    FROM wp_aioseo_notifications
    WHERE 1 = 1 AND
    notification_name = ‘conflicting-plugins’
    AND notification_name = ‘deprecated-filters’
    /* 1 = 1 */ made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, AIOSEO\Plugin\Common\Utils\Filter->flagDeprecated, AIOSEO\Plugin\Common\Models\Notification::getNotificationByName, AIOSEO\Plugin\Common\Utils\Database->run
    [20-May-2021 08:09:05 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT
    *
    FROM wp_aioseo_notifications
    WHERE 1 = 1 AND
    notification_name = ‘deprecated-filters-v2’
    /* 1 = 1 */ made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, AIOSEO\Plugin\Common\Utils\Filter->flagDeprecated, AIOSEO\Plugin\Common\Models\Notification::getNotificationByName, AIOSEO\Plugin\Common\Utils\Database->run
    [20-May-2021 08:09:14 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT wp_posts.* FROM wp_posts WHERE ID IN (391,396) made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Cart_Session->maybe_set_cart_cookies, WC_Cart->is_empty, WC_Cart->get_cart, WC_Cart_Session->get_cart_from_session, _prime_post_caches
    [20-May-2021 08:09:14 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT * FROM wp_posts WHERE ID = 391 LIMIT 1 made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Cart_Session->maybe_set_cart_cookies, WC_Cart->is_empty, WC_Cart->get_cart, WC_Cart_Session->get_cart_from_session, wc_get_product, WC_Product_Factory->get_product, WC_Product_Factory::get_product_type, WC_Data_Store->__call, WC_Product_Data_Store_CPT->get_product_type, get_post_type, get_post, WP_Post::get_instance
    [20-May-2021 08:09:14 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT * FROM wp_posts WHERE ID = 391 LIMIT 1 made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Cart_Session->maybe_set_cart_cookies, WC_Cart->is_empty, WC_Cart->get_cart, WC_Cart_Session->get_cart_from_session, wc_get_product, WC_Product_Factory->get_product, WC_Product_Simple->__construct, WC_Product->__construct, WC_Data_Store->read, WC_Product_Data_Store_CPT->read, get_post, WP_Post::get_instance
    [20-May-2021 08:09:14 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT * FROM wp_posts WHERE ID = 396 LIMIT 1 made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Cart_Session->maybe_set_cart_cookies, WC_Cart->is_empty, WC_Cart->get_cart, WC_Cart_Session->get_cart_from_session, wc_get_product, WC_Product_Factory->get_product, WC_Product_Factory::get_product_type, WC_Data_Store->__call, WC_Product_Data_Store_CPT->get_product_type, get_post_type, get_post, WP_Post::get_instance
    [20-May-2021 08:09:14 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT * FROM wp_posts WHERE ID = 396 LIMIT 1 made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Cart_Session->maybe_set_cart_cookies, WC_Cart->is_empty, WC_Cart->get_cart, WC_Cart_Session->get_cart_from_session, wc_get_product, WC_Product_Factory->get_product, WC_Product_Simple->__construct, WC_Product->__construct, WC_Data_Store->read, WC_Product_Data_Store_CPT->read, get_post, WP_Post::get_instance
    [20-May-2021 08:09:14 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT
    *
    FROM wp_aioseo_notifications
    WHERE 1 = 1 AND
    notification_name = ‘deprecated-filters’
    /* 1 = 1 */ made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, AIOSEO\Plugin\Common\Utils\Filter->flagDeprecated, AIOSEO\Plugin\Common\Models\Notification::getNotificationByName, AIOSEO\Plugin\Common\Utils\Database->run
    [20-May-2021 08:09:14 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT
    *
    FROM wp_aioseo_notifications
    WHERE 1 = 1 AND
    notification_name = ‘deprecated-filters-v2’
    /* 1 = 1 */ made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, AIOSEO\Plugin\Common\Utils\Filter->flagDeprecated, AIOSEO\Plugin\Common\Models\Notification::getNotificationByName, AIOSEO\Plugin\Common\Utils\Database->run
    [20-May-2021 08:09:14 UTC] WordPress database error Commands out of sync; you can’t run this command now for query INSERT INTO wp_woocommerce_sessions (session_key, session_value, session_expiry) VALUES (‘1’, ‘a:7:{s:4:\”cart\”;s:6:\”a:0:{}\”;s:11:\”cart_totals\”;s:396:\”a:15:{s:8:\”subtotal\”;s:4:\”2200\”;s:12:\”subtotal_tax\”;d:0;s:14:\”shipping_total\”;s:1:\”0\”;s:12:\”shipping_tax\”;i:0;s:14:\”shipping_taxes\”;a:0:{}s:14:\”discount_total\”;i:0;s:12:\”discount_tax\”;i:0;s:19:\”cart_contents_total\”;s:4:\”2200\”;s:17:\”cart_contents_tax\”;i:0;s:19:\”cart_contents_taxes\”;a:0:{}s:9:\”fee_total\”;s:1:\”0\”;s:7:\”fee_tax\”;i:0;s:9:\”fee_taxes\”;a:0:{}s:5:\”total\”;s:4:\”2200\”;s:9:\”total_tax\”;d:0;}\”;s:15:\”applied_coupons\”;s:6:\”a:0:{}\”;s:22:\”coupon_discount_totals\”;s:6:\”a:0:{}\”;s:26:\”coupon_discount_tax_totals\”;s:6:\”a:0:{}\”;s:21:\”removed_cart_contents\”;s:6:\”a:0:{}\”;s:8:\”customer\”;s:740:\”a:26:{s:2:\”id\”;s:1:\”1\”;s:13:\”date_modified\”;s:25:\”2021-05-11T16:56:32+00:00\”;s:8:\”postcode\”;s:0:\”\”;s:4:\”city\”;s:0:\”\”;s:9:\”address_1\”;s:0:\”\”;s:7:\”address\”;s:0:\”\”;s:9:\”address_2\”;s:0:\”\”;s:5:\”state\”;s:2:\”MH\”;s:7:\”country\”;s:2:\”IN\”;s:17:\”shipping_postcode\”;s:0:\”\”;s:13:\”shipping_city\”;s:0:\”\”;s:18:\”shipping_address_1\”;s:0:\”\”;s:16:\”shipping_address\”;s:0:\”\”;s:18:\”shipping_address_2\”;s:0:\”\”;s:14:\”shipping_state\”;s:2:\”MH\”;s:16:\”shipping_country\”;s:2:\”IN\”;s:13:\”is_vat_exempt\”;s:0:\”\”;s:19:\”calculated_shipping\”;s:0:\”\”;s:10:\”first_name\”;s:0:\”\”;s:9:\”last_name\”;s:0:\”\”;s:7:\”company\”;s:0:\”\”;s:5:\”phone\”;s:0:\”\”;s:5:\”email\”;s:22:\”leaftech1989@gmail.com\”;s:19:\”shipping_first_name\”;s:0:\”\”;s:18:\”shipping_last_name\”;s:0:\”\”;s:16:\”shipping_company\”;s:0:\”\”;}\”;}’, 1621665868)
    ON DUPLICATE KEY UPDATE session_value = VALUES(session_value), session_expiry = VALUES(session_expiry) made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Session_Handler->save_data
    [20-May-2021 08:09:14 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SHOW FULL COLUMNS FROM wp_woocommerce_sessions made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Session_Handler->save_data, WC_Session_Handler->delete_session
    [20-May-2021 08:09:15 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT
    *
    FROM wp_aioseo_notifications
    WHERE 1 = 1 AND
    notification_name = ‘deprecated-filters’
    /* 1 = 1 */ made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, AIOSEO\Plugin\Common\Utils\Filter->flagDeprecated, AIOSEO\Plugin\Common\Models\Notification::getNotificationByName, AIOSEO\Plugin\Common\Utils\Database->run
    [20-May-2021 08:09:15 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SHOW COLUMNS FROM wp_aioseo_notifications made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, AIOSEO\Plugin\Common\Utils\Filter->flagDeprecated, AIOSEO\Plugin\Common\Models\Notification::getNotificationByName, AIOSEO\Plugin\Common\Utils\Database->model, AIOSEO\Plugin\Common\Models\Model->__construct, AIOSEO\Plugin\Common\Models\Model->getColumns, AIOSEO\Plugin\Common\Utils\Database->execute
    [20-May-2021 08:09:15 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT
    *
    FROM wp_aioseo_notifications
    WHERE 1 = 1 AND
    notification_name = ‘deprecated-filters-v2’
    /* 1 = 1 */ made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, AIOSEO\Plugin\Common\Utils\Filter->flagDeprecated, AIOSEO\Plugin\Common\Models\Notification::getNotificationByName, AIOSEO\Plugin\Common\Utils\Database->run
    [20-May-2021 08:09:15 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SHOW COLUMNS FROM wp_aioseo_notifications made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, AIOSEO\Plugin\Common\Utils\Filter->flagDeprecated, AIOSEO\Plugin\Common\Models\Notification::getNotificationByName, AIOSEO\Plugin\Common\Utils\Database->model, AIOSEO\Plugin\Common\Models\Model->__construct, AIOSEO\Plugin\Common\Models\Model->getColumns, AIOSEO\Plugin\Common\Utils\Database->execute
    [20-May-2021 08:09:17 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT
    *
    FROM wp_aioseo_notifications
    WHERE 1 = 1 AND
    notification_name = ‘deprecated-filters’
    /* 1 = 1 */ made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, AIOSEO\Plugin\Common\Utils\Filter->flagDeprecated, AIOSEO\Plugin\Common\Models\Notification::getNotificationByName, AIOSEO\Plugin\Common\Utils\Database->run
    [20-May-2021 08:09:17 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT
    *
    FROM wp_aioseo_notifications
    WHERE 1 = 1 AND
    notification_name = ‘deprecated-filters-v2’
    /* 1 = 1 */ made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, AIOSEO\Plugin\Common\Utils\Filter->flagDeprecated, AIOSEO\Plugin\Common\Models\Notification::getNotificationByName, AIOSEO\Plugin\Common\Utils\Database->run

    #305715
    allnamestaken
    Participant

    I just downloaded it myself, any idea how I could used this for addresses? My addresses are shown as city,state,country but my groups are city,state. Current setting of group name|equils is not working for me. I would rather not have to rename my group names.

    amandafrench
    Participant

    I guess I’m never satisfied, but I do have an additional request / problem, if someone can help (cough @boonebgorges?). Our xprofile fields are geographical: City, State, Country. I’d like to do a sequential sort on them on the Members directory: first ASC by Country (which I’ve now got working, finally, thanks to this post), then second ASC by State, third ASC by City. I’ve mucked around with SQL statements and ORDER BY FIELD and CASE IF THEN, but I can’t get those subsequent sorts to work.

    xprofile field_id values: 1 = Name, 8 = Org, 9 = City, 10 = State, 11 = Country

    Members loop code:

    <?php if ( bp_has_members( bp_ajax_querystring( 'members' ) . '&per_page=500' . '&populate_extras&type=alphabetical' . '&exclude=1,2,3,4,6') ) : ?>

    Below code in functions.php works – it sorts members by Country ASC
    custom_ids = $wpdb->get_col("SELECT user_id FROM {$wpdb->prefix}bp_xprofile_data WHERE field_id = 11 ORDER BY value ASC");

    Below code in functions.php doesn’t work to sort by Country, State, City ASC – returns an unsorted members list. I think it’s sorting randomly. It isn’t by user id, username, last active, or newest registered. When I apply the default member type sorts, though, with the members-order-select dropdown, that works.

    $custom_ids = $wpdb->get_col("SELECT user_id FROM {$wpdb->prefix}bp_xprofile_data WHERE field_id IN ('1', '8', '9', '10', '11') ORDER BY FIELD (field_id, '11', '10', '9', '8', '1')");

    Any advice for constructing that SQL query? Do I need to look more into bp_parse_args?

    #268595
    azhrahan
    Participant

    Greetings,
    I have buddypress groups set up in a hierarchy. World, Country, State, County, City. I would like to have a dependency dropdown list on my front page that would allow users to navigate those options and “go” to the chosen page. Are there any plugins or ideas as to how I would achieve this?

    Using Advanced Classifieds and Directory Pro plugin I can create a directory but it gives the results of classifieds with the location tags. Not a particular page. Here is a video of the drop down list I would like. Lower right corner. https://www.youtube.com/watch?v=NyER5sm4iIs

    My current system works but is not user friendly. It can be seen here http://www.suroby.com/places/ clicking subdivision opens the directory further. Thanks in advance.

    wci
    Participant

    Hi Buddypress support,
    I am still waiting to get my problem to solve.
    While using bbpress search forum then the search result is not displayed, but instead get forward to homepage.
    Please find this screen video helpful to solve my issue
    > https://www.screencast.com/t/eMZEAnn9X2

    Please also find this info helpful as you stated you need those info too:

    Please try to supply answers to the following questions.
    1. Which version of WordPress are you running?
    WP ver. 4.8

    2. Did you install WordPress as a directory or subdomain install?
    directory but as multisite

    3. If a directory install, is it in root or in a subdirectory?
    subdirectory /public_html/wci

    4. Did you upgrade from a previous version of WordPress? If so, from which version?
    no – Version 2.8.2 is in use

    5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting.
    not sure but I guess it was working

    6. Which version of BP are you running?
    Version 2.8.2 is in use

    7. Did you upgraded from a previous version of BP? If so, from which version?
    no

    8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
    (but the problem occur even, if I deactiavete all plugins just using buddypress and bbpress together)
    Name Version Plugin URL
    WP Easy Updates 1.1.1 http://ayecode.io/
    AffiliateWP – Lifetime Commissions 1.2.4 http://affiliatewp.com/addons/lifetime-commissions/
    AffiliateWP – PayPal Payouts 1.1.7 http://affiliatewp.com/addons/paypal-payouts/
    AffiliateWP – Recurring Referrals 1.6.2 http://affiliatewp.com/addons/recurring-referrals/
    AffiliateWP 2.0.10 https://affiliatewp.com
    AffiliateWP – Affiliate Area Tabs 1.1.5 https://affiliatewp.com/
    AffiliateWP – Affiliate Dashboard Sharing 1.1.3 http://affiliatewp.com/addons/affiliate-dashboard-sharing/
    AffiliateWP BuddyPress Pro 1.0.1 http://propluginmarketplace.com/plugins/affiliatewp-buddypress-pro
    AffiliateWP – Direct Link Tracking 1.1.1 https://affiliatewp.com/add-ons/pro/direct-link-tracking/
    AffiliateWP MLM 1.1.2 http://theperfectplugin.com/downloads/affiliatewp-mlm
    AffiliateWP – Order Details For Affiliates 1.1.3 https://affiliatewp.com/addons/order-details-affiliates/
    AffiliateWP Performance Bonuses 1.0.3.1 http://propluginmarketplace.com/plugins/affiliatewp-performance-bonuses
    AffiliateWP Ranks 1.0.2 http://propluginmarketplace.com/plugins/affiliatewp-ranks
    AffiliateWP Variable Rates 1.3 http://propluginmarketplace.com/plugins/affiliatewp-variable-rates
    Akismet Anti-Spam 3.3.2 https://akismet.com/
    All In One WP Security 4.2.8 https://www.tipsandtricks-hq.com/wordpress-security-and-firewall-plugin
    Autoptimize 2.2.0 http://autoptimize.com/
    bbPress 2.5.12 https://bbpress.org
    BuddyPress Instant Chat 1.6 http://iamrichardphelps.com/
    BuddyPress 2.8.2 https://buddypress.org/
    Contact Form 7 Datepicker 2.6.0 https://github.com/relu/contact-form-7-datepicker/
    Contact Form 7 Honeypot 1.10 http://www.nocean.ca/plugins/honeypot-module-for-contact-form-7-wordpress-plugin/
    Contact Form 7 4.8 https://contactform7.com/
    Cookie Notice 1.2.38 http://www.dfactory.eu/plugins/cookie-notice/
    Delightful Downloads 1.6.6 https://delightfuldownloads.com
    Google Tag Manager for WordPress 1.6.1 https://duracelltomi.com/google-tag-manager-for-wordpress/
    Email Log 1.9.1 http://sudarmuthu.com/wordpress/email-log
    EWWW Image Optimizer 3.4.1 https://wordpress.org/plugins/ewww-image-optimizer/
    Featured Image Generator 1.1.5 https://designilcode.com
    FooTable 0.3.1 http://fooplugins.com/plugins/footable-lite/
    GD Business Hours 1.3.8.2 http://www.solarflarecomputing.com
    GeoDirectory Advance Search Filters 1.4.9 http://wpgeodirectory.com/
    GeoDirectory AffiliateWP Integration 1.0.8 http://wpgeodirectory.com
    GeoDirectory Ajax Duplicate Alert 1.1.8 http://wpgeodirectory.com
    GeoDirectory BuddyPress Integration 1.1.9 http://wpgeodirectory.com/
    GeoDirectory Claim Manager 1.3.21 http://wpgeodirectory.com
    GeoDirectory Custom Post Types 1.3.5 http://wpgeodirectory.com
    GeoDirectory Dashboard 0.0.1 https://wpgeodirectory.com
    GeoDirectory Events 1.4.6 https://wpgeodirectory.com
    GeoDirectory Franchise Manager 1.0.6 http://wpgeodirectory.com/
    GeoDirectory Invoice 1.0 http://www.worldcheckin.com
    GeoDirectory Location Manager 1.5.50 http://wpgeodirectory.com
    GeoDirectory Marker Cluster 1.3.0 http://wpgeodirectory.com
    GeoDirectory Payment Manager 1.4.4 http://wpgeodirectory.com
    GeoDirectory Re-Captcha 1.1.5 http://wpgeodirectory.com/
    GeoDirectory Review Rating Manager 1.3.8 http://wpgeodirectory.com
    GeoDirectory Social Importer 1.3.1 http://wpgeodirectory.com
    GeoDirectory 1.6.21 http://wpgeodirectory.com/
    GT-Vouchers – GeoDirectory Version 1.5.7.8 http://www.gt-vouchers.com/
    Icegram – Popups, Optins, CTAs & lot more… 1.10.5 http://www.icegram.com/
    Idea Factory 1.2 http://wpideafactory.com
    If Modified Since Header 1.2.5 https://www.isaumya.com/portfolio-item/if-modified-since-header-for-wordpress/
    Inbound Extension – MailPoet Integration 1.0.9 http://www.inboundnow.com/
    Insert HTML Snippet 1.2.2 http://xyzscripts.com/wordpress-plugins/insert-html-snippet/
    Collapse-O-Matic 1.7.5 https://plugins.twinpictures.de/plugins/collapse-o-matic/
    Leads 3.1.1 http://www.inboundnow.com/leads/
    MailPoet – Contact Form 7 Integration 1.0.7.5 https://github.com/jessepearson/mailpoet-contact-form-7
    Master Slider Pro 3.1.3 http://codecanyon.net/item/masterslider-pro/7467925?ref=averta
    Multilingual Tools 1.2 https://wpml.org/download/multilingual-tools/
    ProfitBuilder 2.2.7 http://www.imsuccesscenter.com/
    AffiliateWP – Pushover Notifications 1.0.2 http://affiliatewp.com/addons/pushover-notifications
    SendGrid 1.11.3 https://wordpress.org/plugins/sendgrid-email-delivery-simplified/
    WPML Multilingual CMS 3.7.1 https://wpml.org/
    Social Content Locker 1.1 http://web-settler.com/wordpress-social-locker/
    Standout CSS3 Buttons 0.3.0 http://www.jimmyscode.com/wordpress/standout-css3-buttons/
    TablePress Extension: Responsive Tables 1.4 https://tablepress.org/extensions/responsive-tables/
    TablePress 1.8 https://tablepress.org/
    TinyMCE Advanced 4.6.3 http://www.laptoptips.ca/projects/tinymce-advanced/
    UberMenu 3 – The Ultimate WordPress Mega Menu 3.2.5 http://wpmegamenu.com
    UpdraftPlus – Backup/Restore 2.13.4.21 https://updraftplus.com
    Use Google Libraries 1.6.2.3 http://jasonpenney.net/wordpress-plugins/use-google-libraries/
    Widget Logic 5.8.2 https://wordpress.org/extend/plugins/widget-logic/
    Yoast SEO 4.9 https://yoast.com/wordpress/plugins/seo/#utm_source=wpadmin&utm_medium=plugin&utm_campaign=wpseoplugin
    Clean Up Optimizer 4.0.10 http://beta.tech-banker.com
    Wordpress Social Invitations – Lite 2.1.1 http://wp.timersys.com/wordpress-social-invitations/
    WP Super Cache – Clear all cache 1.4 http://ocaoimh.ie/wp-super-cache/
    WP Super Cache 1.4.9 https://wordpress.org/plugins/wp-super-cache/
    WP Support Plus 8.0.7 https://wordpress.org/plugins/wp-support-plus-responsive-ticket-system-ticket-system/
    WPML CMS Nav 1.4.20 https://wpml.org/
    WPML Media 2.2.0 https://wpml.org/
    WPML Page Builders 1.1.3 https://wpml.org/
    WPML Sticky Links 1.4.1 https://wpml.org/
    WPML String Translation 2.5.4 https://wpml.org/
    WPML Translation Management 2.3.1 https://wpml.org/
    WPML Widgets 1.0.6 http://jeroensormani.com
    MailPoet Newsletters 2.7.10 http://www.mailpoet.com/

    9. Are you using the standard WordPress theme or customized theme?
    customized theme

    10. Which theme do you use ?
    GDF_child is from geodirectory (but the problem occur even, if I switch the theme to twenty fourteen)

    11. Have you modified the core files in any way?
    No

    12. Do you have any custom functions in bp-custom.php?
    Not as I know, but maybe the geodirectory addon “GeoDirectory BuddyPress Integration 1.1.9″

    13. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
    no build in. version in use is bbPress 2.5.12

    14. Please provide a list of any errors in your server’s log files.
    [23-Jun-2017 03:41:33 UTC] WordPress database error Table ‘worldche_wcimsgd.wp_term_relationships’ doesn’t exist for query SELECT tt.term_id, MAX(p.post_modified_gmt) AS date_gmt, l.country_slug AS country, l.region_slug AS region, l.city_slug AS city FROM ms_1_geodir_post_locations l LEFT JOIN ms_1_geodir_gd_video_detail pd ON pd.post_location_id = l.location_id LEFT JOIN ms_1_posts p ON p.ID = pd.post_id LEFT JOIN wp_term_relationships AS tr ON tr.object_id = p.ID LEFT JOIN wp_term_taxonomy AS tt ON ( tt.term_taxonomy_id = tr.term_taxonomy_id AND tt.taxonomy = ‘gd_videocategory’ ) WHERE pd.post_locations LIKE CONCAT( ‘[‘, l.city_slug, ‘],[‘, l.region_slug , ‘],[‘, l.country_slug , ‘]’ ) AND p.post_type = ‘gd_video’ AND p.post_status = ‘publish’ AND l.location_id IS NOT NULL AND tt.term_id IS NOT NULL GROUP BY CONCAT(tt.term_id, ‘-‘, l.country_slug, ‘-‘, l.region_slug, ‘-‘, l.city_slug) ORDER BY date_gmt DESC made by require(‘wp-blog-header.php’), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts, do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WPSEO_Sitemaps->redirect, WPSEO_Sitemaps->build_sitemap, WPSEO_Sitemaps->build_root_map, WPSEO_Sitemaps_Renderer->get_index, apply_filters(‘wpseo_sitemap_index’), WP_Hook->apply_filters, call_user_func_array, geodir_sitemap_index, geodir_sitemap_taxonomies_sitemap_index, geodir_sitemap_get_locations_taxonomies
    [23-Jun-2017 03:41:33 UTC] WordPress database error Table ‘worldche_wcimsgd.wp_term_relationships’ doesn’t exist for query SELECT tt.term_id, MAX(p.post_modified_gmt) AS date_gmt, l.country_slug AS country, l.region_slug AS region, l.city_slug AS city FROM ms_1_geodir_post_locations l LEFT JOIN ms_1_geodir_gd_video_detail pd ON pd.post_location_id = l.location_id LEFT JOIN ms_1_posts p ON p.ID = pd.post_id LEFT JOIN wp_term_relationships AS tr ON tr.object_id = p.ID LEFT JOIN wp_term_taxonomy AS tt ON ( tt.term_taxonomy_id = tr.term_taxonomy_id AND tt.taxonomy = ‘gd_video_tags’ ) WHERE pd.post_locations LIKE CONCAT( ‘[‘, l.city_slug, ‘],[‘, l.region_slug , ‘],[‘, l.country_slug , ‘]’ ) AND p.post_type = ‘gd_video’ AND p.post_status = ‘publish’ AND l.location_id IS NOT NULL AND tt.term_id IS NOT NULL GROUP BY CONCAT(tt.term_id, ‘-‘, l.country_slug, ‘-‘, l.region_slug, ‘-‘, l.city_slug) ORDER BY date_gmt DESC made by require(‘wp-blog-header.php’), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts, do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WPSEO_Sitemaps->redirect, WPSEO_Sitemaps->build_sitemap, WPSEO_Sitemaps->build_root_map, WPSEO_Sitemaps_Renderer->get_index, apply_filters(‘wpseo_sitemap_index’), WP_Hook->apply_filters, call_user_func_array, geodir_sitemap_index, geodir_sitemap_taxonomies_sitemap_index, geodir_sitemap_get_locations_taxonomies
    [23-Jun-2017 04:40:47 UTC] WordPress-Datenbank-Fehler You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ” at line 1 für Abfrage SELECT * FROM ms_1_geodir_invoice WHERE post_id = von require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/GDF_child/geodirectory/listing-success.php’), my_project_updated_email
    [23-Jun-2017 04:40:47 UTC] WordPress-Datenbank-Fehler You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘WHERE post_author = 0’ at line 1 für Abfrage UPDATE ms_1_posts SET vat_id = WHERE post_author = 0 von require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/GDF_child/geodirectory/listing-success.php’), my_project_updated_email
    [23-Jun-2017 06:43:08 UTC] PHP Fatal error: Call to undefined function is_bbpress() in /home/worldcheckin/public_html/wci/wp-content/plugins/widget-logic/widget_logic.php(463) : eval()’d code on line 2

    15. Which company provides your hosting?
    hetzner – I am using a own dedicated server

    16. Is your server running Windows, or if Linux; Apache, nginx or something else?
    Linux

    wci
    Participant

    Hi Buddypress support,
    I am still waiting to get my problem to solve.
    While using bbpress search forum then the search result is not displayed, but instead get forward to homepage.
    Please find this screen video helpful to solve my issue
    > https://www.screencast.com/t/eMZEAnn9X2

    Please also find this info helpful as you stated you need those info too:

    Please try to supply answers to the following questions.
    1. Which version of WordPress are you running?
    WP ver. 4.8

    2. Did you install WordPress as a directory or subdomain install?
    directory but as multisite

    3. If a directory install, is it in root or in a subdirectory?
    subdirectory /public_html/wci

    4. Did you upgrade from a previous version of WordPress? If so, from which version?
    no – Version 2.8.2 is in use

    5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting.
    not sure but I guess it was working

    6. Which version of BP are you running?
    Version 2.8.2 is in use

    7. Did you upgraded from a previous version of BP? If so, from which version?
    no

    8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
    (but the problem occur even, if I deactiavete all plugins just using buddypress and bbpress together)
    Name Version Plugin URL
    WP Easy Updates 1.1.1 http://ayecode.io/
    AffiliateWP – Lifetime Commissions 1.2.4 http://affiliatewp.com/addons/lifetime-commissions/
    AffiliateWP – PayPal Payouts 1.1.7 http://affiliatewp.com/addons/paypal-payouts/
    AffiliateWP – Recurring Referrals 1.6.2 http://affiliatewp.com/addons/recurring-referrals/
    AffiliateWP 2.0.10 https://affiliatewp.com
    AffiliateWP – Affiliate Area Tabs 1.1.5 https://affiliatewp.com/
    AffiliateWP – Affiliate Dashboard Sharing 1.1.3 http://affiliatewp.com/addons/affiliate-dashboard-sharing/
    AffiliateWP BuddyPress Pro 1.0.1 http://propluginmarketplace.com/plugins/affiliatewp-buddypress-pro
    AffiliateWP – Direct Link Tracking 1.1.1 https://affiliatewp.com/add-ons/pro/direct-link-tracking/
    AffiliateWP MLM 1.1.2 http://theperfectplugin.com/downloads/affiliatewp-mlm
    AffiliateWP – Order Details For Affiliates 1.1.3 https://affiliatewp.com/addons/order-details-affiliates/
    AffiliateWP Performance Bonuses 1.0.3.1 http://propluginmarketplace.com/plugins/affiliatewp-performance-bonuses
    AffiliateWP Ranks 1.0.2 http://propluginmarketplace.com/plugins/affiliatewp-ranks
    AffiliateWP Variable Rates 1.3 http://propluginmarketplace.com/plugins/affiliatewp-variable-rates
    Akismet Anti-Spam 3.3.2 https://akismet.com/
    All In One WP Security 4.2.8 https://www.tipsandtricks-hq.com/wordpress-security-and-firewall-plugin
    Autoptimize 2.2.0 http://autoptimize.com/
    bbPress 2.5.12 https://bbpress.org
    BuddyPress Instant Chat 1.6 http://iamrichardphelps.com/
    BuddyPress 2.8.2 https://buddypress.org/
    Contact Form 7 Datepicker 2.6.0 https://github.com/relu/contact-form-7-datepicker/
    Contact Form 7 Honeypot 1.10 http://www.nocean.ca/plugins/honeypot-module-for-contact-form-7-wordpress-plugin/
    Contact Form 7 4.8 https://contactform7.com/
    Cookie Notice 1.2.38 http://www.dfactory.eu/plugins/cookie-notice/
    Delightful Downloads 1.6.6 https://delightfuldownloads.com
    Google Tag Manager for WordPress 1.6.1 https://duracelltomi.com/google-tag-manager-for-wordpress/
    Email Log 1.9.1 http://sudarmuthu.com/wordpress/email-log
    EWWW Image Optimizer 3.4.1 https://wordpress.org/plugins/ewww-image-optimizer/
    Featured Image Generator 1.1.5 https://designilcode.com
    FooTable 0.3.1 http://fooplugins.com/plugins/footable-lite/
    GD Business Hours 1.3.8.2 http://www.solarflarecomputing.com
    GeoDirectory Advance Search Filters 1.4.9 http://wpgeodirectory.com/
    GeoDirectory AffiliateWP Integration 1.0.8 http://wpgeodirectory.com
    GeoDirectory Ajax Duplicate Alert 1.1.8 http://wpgeodirectory.com
    GeoDirectory BuddyPress Integration 1.1.9 http://wpgeodirectory.com/
    GeoDirectory Claim Manager 1.3.21 http://wpgeodirectory.com
    GeoDirectory Custom Post Types 1.3.5 http://wpgeodirectory.com
    GeoDirectory Dashboard 0.0.1 https://wpgeodirectory.com
    GeoDirectory Events 1.4.6 https://wpgeodirectory.com
    GeoDirectory Franchise Manager 1.0.6 http://wpgeodirectory.com/
    GeoDirectory Invoice 1.0 http://www.worldcheckin.com
    GeoDirectory Location Manager 1.5.50 http://wpgeodirectory.com
    GeoDirectory Marker Cluster 1.3.0 http://wpgeodirectory.com
    GeoDirectory Payment Manager 1.4.4 http://wpgeodirectory.com
    GeoDirectory Re-Captcha 1.1.5 http://wpgeodirectory.com/
    GeoDirectory Review Rating Manager 1.3.8 http://wpgeodirectory.com
    GeoDirectory Social Importer 1.3.1 http://wpgeodirectory.com
    GeoDirectory 1.6.21 http://wpgeodirectory.com/
    GT-Vouchers – GeoDirectory Version 1.5.7.8 http://www.gt-vouchers.com/
    Icegram – Popups, Optins, CTAs & lot more… 1.10.5 http://www.icegram.com/
    Idea Factory 1.2 http://wpideafactory.com
    If Modified Since Header 1.2.5 https://www.isaumya.com/portfolio-item/if-modified-since-header-for-wordpress/
    Inbound Extension – MailPoet Integration 1.0.9 http://www.inboundnow.com/
    Insert HTML Snippet 1.2.2 http://xyzscripts.com/wordpress-plugins/insert-html-snippet/
    Collapse-O-Matic 1.7.5 https://plugins.twinpictures.de/plugins/collapse-o-matic/
    Leads 3.1.1 http://www.inboundnow.com/leads/
    MailPoet – Contact Form 7 Integration 1.0.7.5 https://github.com/jessepearson/mailpoet-contact-form-7
    Master Slider Pro 3.1.3 http://codecanyon.net/item/masterslider-pro/7467925?ref=averta
    Multilingual Tools 1.2 https://wpml.org/download/multilingual-tools/
    ProfitBuilder 2.2.7 http://www.imsuccesscenter.com/
    AffiliateWP – Pushover Notifications 1.0.2 http://affiliatewp.com/addons/pushover-notifications
    SendGrid 1.11.3 https://wordpress.org/plugins/sendgrid-email-delivery-simplified/
    WPML Multilingual CMS 3.7.1 https://wpml.org/
    Social Content Locker 1.1 http://web-settler.com/wordpress-social-locker/
    Standout CSS3 Buttons 0.3.0 http://www.jimmyscode.com/wordpress/standout-css3-buttons/
    TablePress Extension: Responsive Tables 1.4 https://tablepress.org/extensions/responsive-tables/
    TablePress 1.8 https://tablepress.org/
    TinyMCE Advanced 4.6.3 http://www.laptoptips.ca/projects/tinymce-advanced/
    UberMenu 3 – The Ultimate WordPress Mega Menu 3.2.5 http://wpmegamenu.com
    UpdraftPlus – Backup/Restore 2.13.4.21 https://updraftplus.com
    Use Google Libraries 1.6.2.3 http://jasonpenney.net/wordpress-plugins/use-google-libraries/
    Widget Logic 5.8.2 https://wordpress.org/extend/plugins/widget-logic/
    Yoast SEO 4.9 https://yoast.com/wordpress/plugins/seo/#utm_source=wpadmin&utm_medium=plugin&utm_campaign=wpseoplugin
    Clean Up Optimizer 4.0.10 http://beta.tech-banker.com
    Wordpress Social Invitations – Lite 2.1.1 http://wp.timersys.com/wordpress-social-invitations/
    WP Super Cache – Clear all cache 1.4 http://ocaoimh.ie/wp-super-cache/
    WP Super Cache 1.4.9 https://wordpress.org/plugins/wp-super-cache/
    WP Support Plus 8.0.7 https://wordpress.org/plugins/wp-support-plus-responsive-ticket-system-ticket-system/
    WPML CMS Nav 1.4.20 https://wpml.org/
    WPML Media 2.2.0 https://wpml.org/
    WPML Page Builders 1.1.3 https://wpml.org/
    WPML Sticky Links 1.4.1 https://wpml.org/
    WPML String Translation 2.5.4 https://wpml.org/
    WPML Translation Management 2.3.1 https://wpml.org/
    WPML Widgets 1.0.6 http://jeroensormani.com
    MailPoet Newsletters 2.7.10 http://www.mailpoet.com/

    9. Are you using the standard WordPress theme or customized theme?
    customized theme

    10. Which theme do you use ?
    GDF_child is from geodirectory (but the problem occur even, if I switch the theme to twenty fourteen)

    11. Have you modified the core files in any way?
    No

    12. Do you have any custom functions in bp-custom.php?
    Not as I know, but maybe the geodirectory addon “GeoDirectory BuddyPress Integration 1.1.9″

    13. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
    no build in. version in use is bbPress 2.5.12

    14. Please provide a list of any errors in your server’s log files.
    [23-Jun-2017 03:41:33 UTC] WordPress database error Table ‘worldche_wcimsgd.wp_term_relationships’ doesn’t exist for query SELECT tt.term_id, MAX(p.post_modified_gmt) AS date_gmt, l.country_slug AS country, l.region_slug AS region, l.city_slug AS city FROM ms_1_geodir_post_locations l LEFT JOIN ms_1_geodir_gd_video_detail pd ON pd.post_location_id = l.location_id LEFT JOIN ms_1_posts p ON p.ID = pd.post_id LEFT JOIN wp_term_relationships AS tr ON tr.object_id = p.ID LEFT JOIN wp_term_taxonomy AS tt ON ( tt.term_taxonomy_id = tr.term_taxonomy_id AND tt.taxonomy = ‘gd_videocategory’ ) WHERE pd.post_locations LIKE CONCAT( ‘[‘, l.city_slug, ‘],[‘, l.region_slug , ‘],[‘, l.country_slug , ‘]’ ) AND p.post_type = ‘gd_video’ AND p.post_status = ‘publish’ AND l.location_id IS NOT NULL AND tt.term_id IS NOT NULL GROUP BY CONCAT(tt.term_id, ‘-‘, l.country_slug, ‘-‘, l.region_slug, ‘-‘, l.city_slug) ORDER BY date_gmt DESC made by require(‘wp-blog-header.php’), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts, do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WPSEO_Sitemaps->redirect, WPSEO_Sitemaps->build_sitemap, WPSEO_Sitemaps->build_root_map, WPSEO_Sitemaps_Renderer->get_index, apply_filters(‘wpseo_sitemap_index’), WP_Hook->apply_filters, call_user_func_array, geodir_sitemap_index, geodir_sitemap_taxonomies_sitemap_index, geodir_sitemap_get_locations_taxonomies
    [23-Jun-2017 03:41:33 UTC] WordPress database error Table ‘worldche_wcimsgd.wp_term_relationships’ doesn’t exist for query SELECT tt.term_id, MAX(p.post_modified_gmt) AS date_gmt, l.country_slug AS country, l.region_slug AS region, l.city_slug AS city FROM ms_1_geodir_post_locations l LEFT JOIN ms_1_geodir_gd_video_detail pd ON pd.post_location_id = l.location_id LEFT JOIN ms_1_posts p ON p.ID = pd.post_id LEFT JOIN wp_term_relationships AS tr ON tr.object_id = p.ID LEFT JOIN wp_term_taxonomy AS tt ON ( tt.term_taxonomy_id = tr.term_taxonomy_id AND tt.taxonomy = ‘gd_video_tags’ ) WHERE pd.post_locations LIKE CONCAT( ‘[‘, l.city_slug, ‘],[‘, l.region_slug , ‘],[‘, l.country_slug , ‘]’ ) AND p.post_type = ‘gd_video’ AND p.post_status = ‘publish’ AND l.location_id IS NOT NULL AND tt.term_id IS NOT NULL GROUP BY CONCAT(tt.term_id, ‘-‘, l.country_slug, ‘-‘, l.region_slug, ‘-‘, l.city_slug) ORDER BY date_gmt DESC made by require(‘wp-blog-header.php’), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts, do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WPSEO_Sitemaps->redirect, WPSEO_Sitemaps->build_sitemap, WPSEO_Sitemaps->build_root_map, WPSEO_Sitemaps_Renderer->get_index, apply_filters(‘wpseo_sitemap_index’), WP_Hook->apply_filters, call_user_func_array, geodir_sitemap_index, geodir_sitemap_taxonomies_sitemap_index, geodir_sitemap_get_locations_taxonomies
    [23-Jun-2017 04:40:47 UTC] WordPress-Datenbank-Fehler You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ” at line 1 für Abfrage SELECT * FROM ms_1_geodir_invoice WHERE post_id = von require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/GDF_child/geodirectory/listing-success.php’), my_project_updated_email
    [23-Jun-2017 04:40:47 UTC] WordPress-Datenbank-Fehler You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘WHERE post_author = 0’ at line 1 für Abfrage UPDATE ms_1_posts SET vat_id = WHERE post_author = 0 von require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/GDF_child/geodirectory/listing-success.php’), my_project_updated_email
    [23-Jun-2017 06:43:08 UTC] PHP Fatal error: Call to undefined function is_bbpress() in /home/worldcheckin/public_html/wci/wp-content/plugins/widget-logic/widget_logic.php(463) : eval()’d code on line 2

    15. Which company provides your hosting?
    hetzner – I am using a own dedicated server

    16. Is your server running Windows, or if Linux; Apache, nginx or something else?
    Linux

    #264433
    psnation
    Participant

    I’ve searched for nearly a year before I finally found a solution to automatically adding location to sign up and profiles. I am now using Location Autocomplete for BuddyPress by BuddyBoss. It is a paid plugin but it is amazing. It uses Google’s API so all you do is type a letter and it will auto suggest. There were many requests over the years for a plugin like this. The only thing missing so far is a way to search by distance. If you’ve been searching give this plugin a try.

    Location Autocomplete for BuddyPress

    #261327
    Colourscope
    Participant

    Hi,

    Is there any way to search for a member to select country first then a conditional drop-down lets you next select the state (if US) or county (if UK)?

    My website involves an international community and I need it to be searchable by country and region for multiple countries.

    Can anyone help, please?
    Andy

    #260682
    elgroyconboy
    Participant

    Hello,

    I’m developing a website for my company and we’re trying to sync the assigned group data in buddy press with the user so when we go into mailchimp we can sort/partition our lists in mailchimp by the corresponding group.

    The code we’re using to sync all the other data in extended profile is here, but my concern is that we can’t pull the group the same way because it’s not something that gets added in the extended profile. I’m almost certain that I can’t pull the group with these parameters because when i look in the database, there’s no user-ID tied to any group. However, when i go into buddypress groups there’s users assigned to them.

    This is the function we’re using to sync:

    add_filter( ‘mailchimp_sync_user_data’, ‘mailchimp_buddypress’, 10, 2 );
    //Write the function
    function mailchimp_buddypress( $data, $user ) {

    //Get user ID
    $user_id = $user->ID;

    // Store Xprofile fields in the $data variable
    $data[‘JOBTITLE’] = xprofile_get_field_data( 11 , $user_id );
    $data[‘ORG’] = xprofile_get_field_data( 12 , $user_id );
    $data[‘CITY’] = xprofile_get_field_data( 36 , $user_id );
    $data[‘STATE’] = xprofile_get_field_data( 16 , $user_id );
    $data[‘COUNTRY’] = xprofile_get_field_data( 18 , $user_id );
    $data[‘PHONE’] = xprofile_get_field_data( 19 , $user_id );
    $data[‘SALUTATION’] = xprofile_get_field_data( 3 , $user_id );
    $data[‘GROUP’] = bp_get_current_group_id( 1 , $user_id );
    //Return the data
    return $data;

    }

    Right now the last line “$data[‘GROUP’] = bp_get_current_group_id( 1 , $user_id );” outputs a “0”.

    Thank you for reading! Hoping someone on here can help me.

    #257245
    wescravn
    Participant

    I’m using WP ALL IMPORT PRO with BuddyPress. I’m able to see certain fields to import such as Name, and other standard fields. When I try to view custom fields, I get some custom fields, but none of the fields that I created, or that my theme SWEETDATE created. I can’t even see CITY, or COUNTRY. I see they are custom fields. Is there any way around this? I want to import the users city, and state.

    #255394
    rajsandy11
    Participant

    @danbp
    Thanks for the replay, Script to load xprofile list is working well, I also had state and city fields in my registraion form… Is there any script to achieve conditional selects ??? i mean if i select a country it should populate states belong to that country and if i select state from that list it should populate cities belong to that city only.

    Thanks

    #254017
    emeraldcity
    Participant

    Hi Everyone,

    I’m very new to the BP world and am excited to be using this amazing tool to build a new community online.

    GROUPS:
    I want to use groups as a notification center, allowing members to comment/interact with the notifications. So what I need is for only group admins/moderators to be able to post to the group activity stream. Other group members can only comment and favorite these posts, but cannot make a new post to the activity stream. Is this possible?

    MEMBERS
    Is there a way to show a google map with pins representing the city/state/country fields that users fill in their profile? Would further like these pins to be clickable, displaying certain fields from a user’s public profile.

    Any help with plugins and coding for the above would be very much appreciated. Thanks!

    #243799

    In reply to: custom profile fields

    danbp
    Participant

    @naisai,

    are you sure you want to show a list of over 80 cities ? Have you ever scrolled such a long list on a mobile (usage 2014) ?

    Please, read here:
    https://buddypress.org/support/topic/list-of-countrystatecity/

    #238457
    danbp
    Participant

    @fridafric,

    plugin is outdated and a support question about how to use it with buddypress is… unanswered.
    In the early stage of BuddyPress, countries where included to Core and finally removed around 1.1

    Honestly, you have 3 options:
    1) wasting time&money to code a plugin or tweaking BuddyPress and a third party plugin (long option).
    2) let the user enter his country when asked for (short option).
    3) do nothing (optionnal option)

    or you can read from here:
    https://buddypress.org/support/topic/list-of-countrystatecity/

    #235946
    howsepa
    Participant

    Sorry should have included full function…

    
    //Catch messages on successful login
        function login_action($user_login)
        {
    
            $userdata = get_user_by('login', $user_login);
    
            $uid = ($userdata && $userdata->ID) ? $userdata->ID : 0;
    
            $data[$this->data_labels['login']] = ( 1 == $this->login_success ) ? $this->data_labels['Successful'] : $this->data_labels['Failed'];
            if ( isset( $_REQUEST['redirect_to'] ) ) { $data[$this->data_labels['login Redirect']] = esc_attr( $_REQUEST['redirect_to'] ); }
            $data[$this->data_labels['User Agent']] = esc_attr( $_SERVER['HTTP_USER_AGENT'] );
    
            $serialized_data = serialize($data);
    
            //get user role
            $user_role = '';
            if( $uid ){
                $user = new WP_User( $uid );
                if ( !empty( $user->roles ) && is_array( $user->roles ) ) {
                    $user_role = implode(', ', $user->roles);
                }
            }
    		$current_user = wp_get_current_user();
    		$user_email = $user->user_email;
    	
    
    		$real_client_ip_address = isset($_SERVER['HTTP_X_FORWARDED_FOR']) ? esc_attr($_SERVER['HTTP_X_FORWARDED_FOR']) : esc_attr($_SERVER['REMOTE_ADDR']);
    		
    
    		$guest_ip   = $visitor_location['IP'];
    		$guest_country = "";
    		$guest_city  = "";
    		$guest_state = "";
    		$user_info = get_userdata($uid);
            $USErname =  $user_info->first_name .  " " . $user_info->last_name;
            
    		
    
    			
    		global $bp;
    		
    		$group =  get_group_ids( bp_loggedin_user_id() );
            
    		$values = array(
                'uid'           => $uid,
                'user_login'    => $user_login,
                'user_role'     => $user_role,
    			'user_email'		=> $user_email,
                'time'          => current_time('mysql'),
                'ip'            => isset($_SERVER['HTTP_X_FORWARDED_FOR']) ? esc_attr($_SERVER['HTTP_X_FORWARDED_FOR']) : esc_attr($_SERVER['REMOTE_ADDR']),
    			'country'       => $guest_country,
    			'city'			=> $guest_city,
                'login_result'  => $this->login_success,
                'data'          => $serialized_data,
    			'name'			=> $USErname,
    			'group'			=> $group
                );
    
            $format = array('%d', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s','%s','%s');
    
            $this->save_data($values, $format);
        }
    
    #197330
    danbp
    Participant
    #177712
    webauthor
    Participant

    I’ve been reading a lot about this issue and it looks like BP is missing some very basic functionality. This is the first time using it and right out of the gate I see that there are some things that have me baffled.

    1) No way to create conditional fields. I’ve tried using the Gravity Forms User Registration Add-On plugin but there is no way to map fields properly. For example, in Gravity Forms I have Country, State and City fields. If someone selects United States as a Country for example, the next field that the user sees is the State field, but then I run into a problem when someone selects a City. In order to use conditional fields with Gravity Forms, I need to create many City fields (alabama-cities, alaska-cities etc). One City field for each State. These City fields are conditional fields that displayed to the user Cities based on what the user selects in the State field.

    The problem is that Gravity Forms wants me to first create User Profile Fields in BuddyPress. Then map each Gravity Forms field to the appropriate User Profile Field. Since I have many Gravity Forms cities field, there is no way I can tell Gravity Forms to use the City that the user selects and map it to a City User Profile field in BuddyPress.

    I’ve read a lot of posts on this forum dating back 5 years and no one has offered a working solution.

    2) Also, Why is there no option for an admin to be able to deny users from changing their Screenname? How about an option that prevents user from modifying a specific field such as Gender? All I see is havoc and chaos if you allow users to change certain fields.

    3) Why doesn’t BuddyPress offer a way to have different registration fields based on the user? Teacher / Student Registration, Doctor / Patient etc? It doesn’t make sense. Look at the core of BuddyPress. It’s a social network plugin. In almost every circumstance you have a need for one user have certain fields and another to have other fields. Trying to figure out how to show certain profile fields for one user and not another should be at the core of this plugin. Not to mention making it easy for the site owner to layout those fields so that they look nice. For example something as easy as defining the length of the fields. You can’t make those modifications without Firebug and CSS and PHP experience, or worse yet another plugin. If you use a plugin, then you have to pray to God the author of that plugin not to fall off a cliff or pray that he / she keeps that plugin conducive with the latest version of BP.

    I don’t mean to gripe but BuddyPress it seems to me that at it’s core, very little thought was given to how people would actually use it. Almost like it’s piecemealed together.

    Another big complaint is that it’s not compatible with the best WordPress themes on the planet – StudioPress. Shouldn’t the contributors of BP make sure that BP and StudioPress be compatible?

    I’m sorry if this sounds like a rant, it’s not. It’s just frustration. BP looks awesome but underneath the hood, there are a lot of obvious problems. My suggestion is to do what WooCommerce, StudioPress and others do. Sit down and figure out how to handle the big issues first. If need be, charge for BuddyPress. If the problem is that you have a bunch of contributors who work on things “they” deem important and at their own leisure, then the plugin suffers. Charge for it. Sit down and listen to the complaints and address them based on customer priority. Pay someone to reply to this forum so we’re not waiting days for a response. You’ll have much happier users and a much better plugin. Just my 2 cents worth. Honestly, since BP is virtually the only Plugin of it’s kind, not taking my advice will lead to someone creating a better wheel and that point, it’s only a matter of time before BP becomes obsolete.

    It’s been close to 24 hours and no response to my original question. If ANYONE has an answer as to how I can get a user to simply select a Country, then State, then City based on previous fields, I’d greatly appreciate it. Also if someone could please tell me how to prevent users from modifying certain fields that would be appreciated as well.

    Thanks

    #171378
    dmpastuf
    Participant

    When I post my custom form on a custom tab, I get a wordpress “Are you sure?” page (i.e. a wp_nonce_ays). Not so much an error as a failure (i.e. I’d expect nonce to be causing what its causing, but have no idea what field is doing so).

    Here’s the code I’m using for one of the two form tabs:

    
    add_action('bp_init', 'bpcivi_addgroupeditnav1');
    
    function bpcivi_addgroupeditnav1() {
    if ( class_exists( 'BP_Group_Extension' ) ) { // Recommended, to prevent problems during upgrade or when Groups are disabled
      //Run to find out if a chapter
     	global $wpdb;
    	global $bp;
     	$bpcivi_ck_currgroup = $bp->groups->current_group->id;
     	if(is_numeric($bpcivi_ck_currgroup)) { //Check if the group is set
     		$bpcivi_ck_querytext = 'SELECT * FROM <code>wp_bpcivi_groupsync</code> WHERE <code>buddypress_group</code> =' . $bpcivi_ck_currgroup;
    		$bpcivi_ck_settinggroups = $wpdb->get_results($bpcivi_ck_querytext);
     	}
        class BPCivigroupedit extends BP_Group_Extension {
     		 function __construct() {
            	$this->name = 'Edit Chapter Info';
                $this->slug = 'bpcivi-groupedit';
                $this->nav_item_position = 2;
                $this->visibility = 'private';
                $this->enable_nav_item = false;
                $this->enable_create_step = false;
    		}
            /**
             * The content of the My Group Extension tab of the group admin
             */
    	function edit_screen() {
    	    if ( !bp_is_group_admin_screen( $this->slug ) )
    			return false;
        //Include Files
    	include_once(ABSPATH  . '/wp-blog-header.php');
    	include_once(ABSPATH  . 'wp-content/plugins/civicrm/civicrm.settings.php');
    	include_once(ABSPATH  . 'wp-content/plugins/civicrm/civicrm/CRM/Core/Config.php');
    	include_once(ABSPATH  . 'wp-content/plugins/civicrm/civicrm/civicrm.config.php');
    	$config = CRM_Core_Config::singleton();
    	global $wpdb;
    	global $bp;
    	//Current Buddypress Group
    		$bpcivi_currgroup = $bp->groups->current_group->id;
    	//Run Query on DB
    		$bpvivi_querytext = 'SELECT * FROM <code>wp_bpcivi_groupsync</code> WHERE <code>buddypress_group</code> =' . $bpcivi_currgroup;
    		$bpcivisync_settinggroups = $wpdb->get_results($bpvivi_querytext);
    	//Assign to array from first membership found - oldest set effectively
    		$bpcivi_groupsettings = get_object_vars($bpcivisync_settinggroups[0]);
    	//Form Reaction TODO
    		if (isset($_POST['groupeditsubmit'])) {
    		//Contact Update
    		$bpcivi_groupupdateparams = array('version' => 3,'page' => 'CiviCRM','q' => 'civicrm/ajax/rest','sequential' => 1,
    		'id' => $bpcivi_groupsettings['orgid'],
    		'organization_name' => $_POST['orgname'],
    		'legal_name' => $_POST['legalname'],
    		'nick_name' =>$_POST['nickname'],
    		);
    		$bpcivi_groupeditpostresult = civicrm_api('Contact', 'create', $bpcivi_groupupdateparams);
    		//Address Update 
    		$bpcivi_groupaddressupdateparams = array('version' => 3,'page' => 'CiviCRM','q' => 'civicrm/ajax/rest','sequential' => 1,
    		'id' => $_POST['addressid'],
    		'street_address' => $_POST['street1'],
    		'supplemental_address_1' => $_POST['street2'],
    		'supplemental_address_2' => $_POST['street3'],
    		'city' => $_POST['city1'],
    		'geo_code_1' => $_POST['latitude'],
    		'geo_code_2' => $_POST['longitude'],
    		'state_province_id' => $_POST['state'],
    		);
    		$bpcivi_groupaddresseditpostresult = civicrm_api('Address', 'create', $bpcivi_groupaddressupdateparams);
    		//Website Update
    		$bpcivi_groupwebupdateparams = array('version' => 3,'page' => 'CiviCRM','q' => 'civicrm/ajax/rest','sequential' => 1,
    		'id' => $_POST['webid'],
    		'url' => $_POST['website1'],
    		);
    		$bpcivi_groupwebupdateresult = civicrm_api('Website', 'create', $bpcivi_groupwebupdateparams);
    		
    		/*//Diagnostics
    		echo "Being Sent to API - Address: <pre>";
    		print_r($bpcivi_groupwebupdateresult);
    		echo "<pre>";*/
    		}
    	
    	
    	
    	//Run Query API Against Group
    		$bpcivi_groupeditparams = array('version' => 3,'page' => 'CiviCRM','q' => 'civicrm/ajax/rest','sequential' => 1,
    			'contact_id' => $bpcivi_groupsettings['orgid'],);
    		$bpcivi_groupeditresult = civicrm_api('Contact', 'get', $bpcivi_groupeditparams);
    		 //Array of assignments	
    			$bpcivi_groupedit_orgname = $bpcivi_groupeditresult['values'][0]['organization_name'];
    			$bpcivi_groupedit_legalname = $bpcivi_groupeditresult['values'][0]['legal_name'];
    			$bpcivi_groupedit_nickname = $bpcivi_groupeditresult['values'][0]['nick_name'];
    			$bpcivi_groupedit_streetaddress = $bpcivi_groupeditresult['values'][0]['street_address'];
    			$bpcivi_groupedit_supplemental_address_1 = $bpcivi_groupeditresult['values'][0]['supplemental_address_1'];
    			$bpcivi_groupedit_supplemental_address_2 = $bpcivi_groupeditresult['values'][0]['supplemental_address_2'];
    			$bpcivi_groupedit_city = $bpcivi_groupeditresult['values'][0]['city'];
    			$bpcivi_groupedit_geo_code_1 = $bpcivi_groupeditresult['values'][0]['geo_code_1'];
    			$bpcivi_groupedit_geo_code_2 = $bpcivi_groupeditresult['values'][0]['geo_code_2'];
    			$bpcivi_groupedit_state_province_id = $bpcivi_groupeditresult['values'][0]['state_province_id'];
    			$bpcivi_groupedit_country_id = $bpcivi_groupeditresult['values'][0]['country_id'];
    			
    	//Organization Website Query
    		$bpcivi_groupeditwebsiteparams = array('version' => 3,'page' => 'CiviCRM','q' => 'civicrm/ajax/rest','sequential' => 1,
    			'contact_id' => $bpcivi_groupsettings['orgid'],);
    		$bpcivi_groupeditwebsiteresult = civicrm_api('Website', 'get', $bpcivi_groupeditwebsiteparams);
    		$bpcivi_groupedit_website1 = $bpcivi_groupeditwebsiteresult['values'][0]['url'];
    	//Get the states list
    		$bpcivi_statesparams = array('version' => 3,'page' => 'CiviCRM','q' => 'civicrm/ajax/rest','name' => 'stateProvince',);
    		$bpcivi_statesresult = civicrm_api('Constant', 'get', $bpcivi_statesparams);
    		$bpcivi_statesresultarr = $bpcivi_statesresult['values'];
    		$bpcivi_statesresultarrkeyd = array_values($bpcivi_statesresultarr);
    		$bpcivi_statesresultarrkeys = array_keys($bpcivi_statesresultarr);
    	//Get the Countries list
    		$bpcivi_countriesparams = array('version' => 3,'page' => 'CiviCRM','q' => 'civicrm/ajax/rest','name' => 'country',);
    		$bpcivi_countriesresult = civicrm_api('Constant', 'get', $bpcivi_countriesparams);
    		$bpcivi_countriesresultarr = $bpcivi_countriesresult['values'];
    		$bpcivi_countriesresultarrkeyd = array_values($bpcivi_countriesresultarr);
    		$bpcivi_countriesresultarrkeys = array_keys($bpcivi_countriesresultarr);
    	//Display Form
    		echo '<div id="bpcivigroupeditform">';
    		echo '<form action="" method="post">';
    		echo '<input type="hidden" name="addressid" value="' . $bpcivi_groupeditresult['values'][0]['address_id'] . '">';
    		echo '<input type="hidden" name="webid" value="' . $bpcivi_groupeditwebsiteresult['values'][0]['id'] . '">';
    		echo '<table border=1>';
    		echo "<tr><td>" . "Organization Name" . "</td><td>" . '<input type="text" name="orgname" value="' .$bpcivi_groupedit_orgname  . '"></td><tr>';
    		echo "<tr><td>" . "Legal Name" . "</td><td>" . '<input type="text" name="legalname" value="' .$bpcivi_groupedit_legalname  . '"></td><tr>';
    		echo "<tr><td>" . "Nickname" . "</td><td>" . '<input type="text" name="nickname" value="' .$bpcivi_groupedit_nickname  . '"></td><tr>';
    		echo "<tr><td>" . "Website" . "</td><td>" . '<input type="url" name="website1" value="' .$bpcivi_groupedit_website1  . '"></td><tr>';
    		echo "<tr><td>" . "Street Address" . "</td><td>" . '<input type="text" name="street1" value="' .$bpcivi_groupedit_streetaddress  . '"></td><tr>';
    		echo "<tr><td>" . "Street Address 2" . "</td><td>" . '<input type="text" name="street2" value="' .$bpcivi_groupedit_supplemental_address_1  . '"></td><tr>';
    		echo "<tr><td>" . "Street Address 3" . "</td><td>" . '<input type="text" name="street3" value="' .$bpcivi_groupedit_supplemental_address_2  . '"></td><tr>';
    		echo "<tr><td>" . "City" . "</td><td>" . '<input type="text" name="city1" value="' .$bpcivi_groupedit_city  . '"></td><tr>';
    		echo "<tr><td>" . "Latitude" . "</td><td>" . '<input type="text" name="latitude" value="' .$bpcivi_groupedit_geo_code_1  . '"></td><tr>';
    		echo "<tr><td>" . "Longitude" . "</td><td>" . '<input type="text" name="longitude" value="' .$bpcivi_groupedit_geo_code_2  . '"></td><tr>';
    		echo "<tr><td>" . "State" . "</td><td>" . '<select name="state">';
    		for ($i=0;$i<count($bpcivi_statesresultarr);$i++) {
    			if ($bpcivi_statesresultarrkeys[$i] == $bpcivi_groupedit_state_province_id) {
    			echo '<option value="' . $bpcivi_statesresultarrkeys[$i] . '" selected>' . $bpcivi_statesresultarrkeyd[$i] . '</option>';	
    			} else {
    			echo '<option value="' . $bpcivi_statesresultarrkeys[$i] . '">' . $bpcivi_statesresultarrkeyd[$i] . '</option>';
    			}
    		}
    		echo '</select></td><tr>';
    		//value="' .$bpcivi_groupedit_state_province_id  . '"
    		echo "<tr><td>" . "Country" . "</td><td>" . '<input type="text" name="orgname" disabled value="' .$bpcivi_countriesresultarr[$bpcivi_groupedit_country_id]  . '"></td><tr>';
    		echo '<tr><td colspan="2">' . '<input id="bpedit_submit" type="submit" name="groupeditsubmit" value="Submit">' . '</td></tr>';
    		echo "</table></form>";
    		echo "</div>";
    	//Diagnostics
    	/*
    		echo "<br>Post: <pre>";
    		print_r($_POST);
    		echo "</pre>";
            echo "<br>API Call: <pre>";
    		print_r($bpcivi_groupeditwebsiteresult);
    		echo "</pre>";        
    		*/
            }
    
    }
    if(count($bpcivi_ck_settinggroups) > 0) { //Make it so that the group exension is only used for chapter
    	bp_register_group_extension( 'BPCivigroupedit' );
    }
    }
    }
    

    This code is the initial code before I started adding the nonces to see if the problem could be resolved.

    bp-help
    Participant

    @walid3
    Glad I could help but realistically that would take a huge amount of effort for the BP Dev team to integrate every country, every state, and every city in the world into BP so I don’t think they would look too seriously at something of this nature. But then again that is just my opinion.

    #140538
    nitestop
    Participant

    has anyone found a plugin for registration, country, state/providence, city
    also
    anyone else having a problem with the new buddypress update, public profile links are showing up as html code

    4ella
    Participant

    If somebody interested I have modified @modemlooper buddypress-group-fields.php for my website
    I have deleted $links , so it doesn’t show WARNING , I have found an error in phone field so it works now and also other fields are memorized well , I have also added some new location and contact fields , I have created all 247 countries list (dropdown menu) – everything looks working well ,
    I don’t know how to display it in templates yet , Opening days(Monday , Tuesday , Wednesday ….) field I wanted to use checkboxes , but I wasn’t not sure if I was able to do that , so I have used dropdown menu now too.

    <?php
    add_filter( 'groups_custom_group_fields_editable', 'group_details_markup' );
    add_action( 'groups_group_details_edited', 'group_details_save' );
    add_action( 'groups_created_group', 'group_details_save' );

    function group_details_markup() {
    global $bp, $wpdb;

    $group_text = groups_get_groupmeta( $bp->groups->current_group->id, 'e2e_text' );

    ?>


    Job Description


    (Type of job you offer, detailed description of the work you offer.. etc)





    Location



    groups->current_group->id, 'e2e_country' ); ?>

    <option value="Afghanistan" selected="selected">Afghanistan
    <option value="Albania" selected="selected">Albania
    <option value="Algeria" selected="selected">Algeria
    <option value="American Samoa" selected="selected">American Samoa
    <option value="Andorra" selected="selected">Andorra
    <option value="Angola" selected="selected">Angola
    <option value="Anguilla" selected="selected">Anguilla
    <option value="Antigua & Barbuda" selected="selected">Antigua & Barbuda
    <option value="Argentina" selected="selected">Argentina
    <option value="Armenia" selected="selected">Armenia
    <option value="Aruba" selected="selected">Aruba
    <option value="Australia" selected="selected">Australia
    <option value="Austria" selected="selected">Austria
    <option value="Azerbaijan" selected="selected">Azerbaijan
    <option value="Bahamas" selected="selected">Bahamas
    <option value="Bahrain" selected="selected">Bahrain
    <option value="Bangladesh" selected="selected">Bangladesh
    <option value="Barbados" selected="selected">Barbados
    <option value="Belarus" selected="selected">Belarus
    <option value="Belgium" selected="selected">Belgium
    <option value="Belize" selected="selected">Belize
    <option value="Benin" selected="selected">Benin
    <option value="Bermuda" selected="selected">Bermuda
    <option value="Bhutan" selected="selected">Bhutan
    <option value="Bolivia" selected="selected">Bolivia
    <option value="Bonaire" selected="selected">Bonaire
    <option value="Bosnia & Herzegovina" selected="selected">Bosnia & Herzegovina
    <option value="Botswana" selected="selected">Botswana
    <option value="Brazil" selected="selected">Brazil
    <option value="British Indian Ocean Ter" selected="selected">British Indian Ocean Ter
    <option value="Brunei" selected="selected">Brunei
    <option value="Bulgaria" selected="selected">Bulgaria
    <option value="Burkina Faso" selected="selected">Burkina Faso
    <option value="Burundi" selected="selected">Burundi
    <option value="Cambodia" selected="selected">Cambodia
    <option value="Cameroon" selected="selected">Cameroon
    <option value="Canada" selected="selected">Canada
    <option value="Canary Islands" selected="selected">Canary Islands
    <option value="Cape Verde" selected="selected">Cape Verde
    <option value="Cayman Islands" selected="selected">Cayman Islands
    <option value="Central African Republic" selected="selected">Central African Republic
    <option value="Chad" selected="selected">Chad
    <option value="Channel Islands" selected="selected">Channel Islands
    <option value="Chile" selected="selected">Chile
    <option value="China" selected="selected">China
    <option value="Christmas Island" selected="selected">Christmas Island
    <option value="Cocos Island" selected="selected">Cocos Island
    <option value="Colombia" selected="selected">Colombia
    <option value="Comoros" selected="selected">Comoros
    <option value="Congo" selected="selected">Congo
    <option value="Cook Islands" selected="selected">Cook Islands
    <option value="Costa Rica" selected="selected">Costa Rica
    <option value="Cote de Ivoire" selected="selected">Cote D'Ivoire
    <option value="Croatia" selected="selected">Croatia
    <option value="Cuba" selected="selected">Cuba
    <option value="Curaco" selected="selected">Curacao
    <option value="Cyprus" selected="selected">Cyprus
    <option value="Czech Republic" selected="selected">Czech Republic
    <option value="Denmark" selected="selected">Denmark
    <option value="Djibouti" selected="selected">Djibouti
    <option value="Dominica" selected="selected">Dominica
    <option value="Dominican Republic" selected="selected">Dominican Republic
    <option value="East Timor" selected="selected">East Timor
    <option value="Ecuador" selected="selected">Ecuador
    <option value="Egypt" selected="selected">Egypt
    <option value="El Salvador" selected="selected">El Salvador
    <option value="Equatorial Guinea" selected="selected">Equatorial Guinea
    <option value="Eritrea" selected="selected">Eritrea
    <option value="Estonia" selected="selected">Estonia
    <option value="Ethiopia" selected="selected">Ethiopia
    <option value="Falkland Islands" selected="selected">Falkland Islands
    <option value="Faroe Islands" selected="selected">Faroe Islands
    <option value="Fiji" selected="selected">Fiji
    <option value="Finland" selected="selected">Finland
    <option value="France" selected="selected">France
    <option value="French Guiana" selected="selected">French Guiana
    <option value="French Polynesia" selected="selected">French Polynesia
    <option value="French Southern Ter" selected="selected">French Southern Ter
    <option value="Gabon" selected="selected">Gabon
    <option value="Gambia" selected="selected">Gambia
    <option value="Georgia" selected="selected">Georgia
    <option value="Germany" selected="selected">Germany
    <option value="Ghana" selected="selected">Ghana
    <option value="Gibraltar" selected="selected">Gibraltar
    <option value="Great Britain" selected="selected">Great Britain
    <option value="Greece" selected="selected">Greece
    <option value="Greenland" selected="selected">Greenland
    <option value="Grenada" selected="selected">Grenada
    <option value="Guadeloupe" selected="selected">Guadeloupe
    <option value="Guam" selected="selected">Guam
    <option value="Guatemala" selected="selected">Guatemala
    <option value="Guinea" selected="selected">Guinea
    <option value="Guyana" selected="selected">Guyana
    <option value="Haiti" selected="selected">Haiti
    <option value="Hawaii" selected="selected">Hawaii
    <option value="Honduras" selected="selected">Honduras
    <option value="Hong Kong" selected="selected">Hong Kong
    <option value="Hungary" selected="selected">Hungary
    <option value="Iceland" selected="selected">Iceland
    <option value="India" selected="selected">India
    <option value="Indonesia" selected="selected">Indonesia
    <option value="Iran" selected="selected">Iran
    <option value="Iraq" selected="selected">Iraq
    <option value="Ireland" selected="selected">Ireland
    <option value="Isle of Man" selected="selected">Isle of Man
    <option value="Israel" selected="selected">Israel
    <option value="Italy" selected="selected">Italy
    <option value="Jamaica" selected="selected">Jamaica
    <option value="Japan" selected="selected">Japan
    <option value="Jordan" selected="selected">Jordan
    <option value="Kazakhstan" selected="selected">Kazakhstan
    <option value="Kenya" selected="selected">Kenya
    <option value="Kiribati" selected="selected">Kiribati
    <option value="Korea North" selected="selected">Korea North
    <option value="Korea Sout" selected="selected">Korea South
    <option value="Kuwait" selected="selected">Kuwait
    <option value="Kyrgyzstan" selected="selected">Kyrgyzstan
    <option value="Laos" selected="selected">Laos
    <option value="Latvia" selected="selected">Latvia
    <option value="Lebanon" selected="selected">Lebanon
    <option value="Lesotho" selected="selected">Lesotho
    <option value="Liberia" selected="selected">Liberia
    <option value="Libya" selected="selected">Libya
    <option value="Liechtenstein" selected="selected">Liechtenstein
    <option value="Lithuania" selected="selected">Lithuania
    <option value="Luxembourg" selected="selected">Luxembourg
    <option value="Macau" selected="selected">Macau
    <option value="Macedonia" selected="selected">Macedonia
    <option value="Madagascar" selected="selected">Madagascar
    <option value="Malaysia" selected="selected">Malaysia
    <option value="Malawi" selected="selected">Malawi
    <option value="Maldives" selected="selected">Maldives
    <option value="Mali" selected="selected">Mali
    <option value="Malta" selected="selected">Malta
    <option value="Marshall Islands" selected="selected">Marshall Islands
    <option value="Martinique" selected="selected">Martinique
    <option value="Mauritania" selected="selected">Mauritania
    <option value="Mauritius" selected="selected">Mauritius
    <option value="Mayotte" selected="selected">Mayotte
    <option value="Mexico" selected="selected">Mexico
    <option value="Midway Islands" selected="selected">Midway Islands
    <option value="Moldova" selected="selected">Moldova
    <option value="Monaco" selected="selected">Monaco
    <option value="Mongolia" selected="selected">Mongolia
    <option value="Montserrat" selected="selected">Montserrat
    <option value="Morocco" selected="selected">Morocco
    <option value="Mozambique" selected="selected">Mozambique
    <option value="Myanmar" selected="selected">Myanmar
    <option value="Nambia" selected="selected">Nambia
    <option value="Nauru" selected="selected">Nauru
    <option value="Nepal" selected="selected">Nepal
    <option value="Netherland Antilles" selected="selected">Netherland Antilles
    <option value="Netherlands" selected="selected">Netherlands (Holland, Europe)
    <option value="Nevis" selected="selected">Nevis
    <option value="New Caledonia" selected="selected">New Caledonia
    <option value="New Zealand" selected="selected">New Zealand
    <option value="Nicaragua" selected="selected">Nicaragua
    <option value="Niger" selected="selected">Niger
    <option value="Nigeria" selected="selected">Nigeria
    <option value="Niue" selected="selected">Niue
    <option value="Norfolk Island" selected="selected">Norfolk Island
    <option value="Norway" selected="selected">Norway
    <option value="Oman" selected="selected">Oman
    <option value="Pakistan" selected="selected">Pakistan
    <option value="Palau Island" selected="selected">Palau Island
    <option value="Palestine" selected="selected">Palestine
    <option value="Panama" selected="selected">Panama
    <option value="Papua New Guinea" selected="selected">Papua New Guinea
    <option value="Paraguay" selected="selected">Paraguay
    <option value="Peru" selected="selected">Peru
    <option value="Phillipines" selected="selected">Philippines
    <option value="Pitcairn Island" selected="selected">Pitcairn Island
    <option value="Poland" selected="selected">Poland
    <option value="Portugal" selected="selected">Portugal
    <option value="Puerto Rico" selected="selected">Puerto Rico
    <option value="Qatar" selected="selected">Qatar
    <option value="Republic of Montenegro" selected="selected">Republic of Montenegro
    <option value="Republic of Serbia" selected="selected">Republic of Serbia
    <option value="Reunion" selected="selected">Reunion
    <option value="Romania" selected="selected">Romania
    <option value="Russia" selected="selected">Russia
    <option value="Rwanda" selected="selected">Rwanda
    <option value="St Barthelemy" selected="selected">St. Barthelemy
    <option value="St Eustatius" selected="selected">St. Eustatius
    <option value="St Helena" selected="selected">St. Helena
    <option value="St Kitts-Nevis" selected="selected">St. Kitts-Nevis
    <option value="St Lucia" selected="selected">St. Lucia
    <option value="St Maarten" selected="selected">St. Maarten
    <option value="St Pierre & Miquelon" selected="selected">St. Pierre & Miquelon
    <option value="St Vincent & Grenadines" selected="selected">St. Vincent & Grenadines
    <option value="Saipan" selected="selected">Saipan
    <option value="Samoa" selected="selected">Samoa
    <option value="Samoa American" selected="selected">Samoa American
    <option value="San Marino" selected="selected">San Marino
    <option value="Sao Tome & Principe" selected="selected">Sao Tome & Principe
    <option value="Saudi Arabia" selected="selected">Saudi Arabia
    <option value="Senegal" selected="selected">Senegal
    <option value="Seychelles" selected="selected">Seychelles
    <option value="Sierra Leone" selected="selected">Sierra Leone
    <option value="Singapore" selected="selected">Singapore
    <option value="Slovakia" selected="selected">Slovakia
    <option value="Slovenia" selected="selected">Slovenia
    <option value="Solomon Islands" selected="selected">Solomon Islands
    <option value="Somalia" selected="selected">Somalia
    <option value="South Africa" selected="selected">South Africa
    <option value="Spain" selected="selected">Spain
    <option value="Sri Lanka" selected="selected">Sri Lanka
    <option value="Sudan" selected="selected">Sudan
    <option value="Suriname" selected="selected">Suriname
    <option value="Swaziland" selected="selected">Swaziland
    <option value="Sweden" selected="selected">Sweden
    <option value="Switzerland" selected="selected">Switzerland
    <option value="Syria" selected="selected">Syria
    <option value="Tahiti" selected="selected">Tahiti
    <option value="Taiwan" selected="selected">Taiwan
    <option value="Tajikistan" selected="selected">Tajikistan
    <option value="Tanzania" selected="selected">Tanzania
    <option value="Thailand" selected="selected">Thailand
    <option value="Togo" selected="selected">Togo
    <option value="Tokelau" selected="selected">Tokelau
    <option value="Tonga" selected="selected">Tonga
    <option value="Trinidad & Tobago" selected="selected">Trinidad & Tobago
    <option value="Tunisia" selected="selected">Tunisia
    <option value="Turkey" selected="selected">Turkey
    <option value="Turkmenistan" selected="selected">Turkmenistan
    <option value="Turks & Caicos Is" selected="selected">Turks & Caicos Is
    <option value="Tuvalu" selected="selected">Tuvalu
    <option value="Uganda" selected="selected">Uganda
    <option value="Ukraine" selected="selected">Ukraine
    <option value="United Arab Erimates" selected="selected">United Arab Emirates
    <option value="United Kingdom" selected="selected">United Kingdom
    <option value="United States of America" selected="selected">United States of America
    <option value="Uraguay" selected="selected">Uruguay
    <option value="Uzbekistan" selected="selected">Uzbekistan
    <option value="Vanuatu" selected="selected">Vanuatu
    <option value="Vatican City State" selected="selected">Vatican City State
    <option value="Venezuela" selected="selected">Venezuela
    <option value="Vietnam" selected="selected">Vietnam
    <option value="Virgin Islands (Brit)" selected="selected">Virgin Islands (Brit)
    <option value="Virgin Islands (USA)" selected="selected">Virgin Islands (USA)
    <option value="Wake Island" selected="selected">Wake Island
    <option value="Wallis & Futana Is" selected="selected">Wallis & Futana Is
    <option value="Yemen" selected="selected">Yemen
    <option value="Zaire" selected="selected">Zaire
    <option value="Zambia" selected="selected">Zambia
    <option value="Zimbabwe" selected="selected">Zimbabwe


    groups->current_group->id, 'e2e_province' ); ?>

    <input type="text" name="group-province" id="group-province" value="" />

    groups->current_group->id, 'e2e_city' ); ?>

    <input type="text" name="group-city" id="group-city" value="" />

    groups->current_group->id, 'e2e_street' ); ?>

    <input type="text" name="group-street" id="group-street" value="" />



    Club



    groups->current_group->id, 'e2e_type' ); ?>

    <option value="agency" selected="selected">Agency
    <option value="nightclub" selected="selected">Nightclub
    <option value="stripclub" selected="selected">Stripclub
    <option value="lapdance" selected="selected">Lap dance club
    <option value="tabledance" selected="selected">Table dance club
    <option value="cabaret" selected="selected">Cabaret
    <option value="disco" selected="selected">Disco
    <option value="restaurant" selected="selected">Restaurant



    groups->current_group->id, 'e2e_capacity' ); ?>

    <option value="10" selected="selected">5-10
    <option value="20" selected="selected">10-20
    <option value="30" selected="selected">20-30
    <option value="40" selected="selected">30-40
    <option value="50" selected="selected">40-50
    <option value="60" selected="selected">50+



    groups->current_group->id, 'e2e_opened' ); ?>

    <option value="0:00" selected="selected">0:00
    <option value="0:30" selected="selected">0:30
    <option value="1:00" selected="selected">1:00
    <option value="1:30" selected="selected">1:30
    <option value="2:00" selected="selected">2:00
    <option value="2:30" selected="selected">2:30
    <option value="3:00" selected="selected">3:00
    <option value="3:30" selected="selected">3:30
    <option value="4:00" selected="selected">4:00
    <option value="4:30" selected="selected">4:30
    <option value="5:00" selected="selected">5:00
    <option value="5:30" selected="selected">5:30
    <option value="6:00" selected="selected">6:00
    <option value="6:30" selected="selected">6:30
    <option value="7:00" selected="selected">7:00
    <option value="7:30" selected="selected">7:30
    <option value="8:00" selected="selected">8:00
    <option value="8:30" selected="selected">8:30
    <option value="9:00" selected="selected">9:00
    <option value="9:30" selected="selected">9:30
    <option value="10:00" selected="selected">10:00
    <option value="10:30" selected="selected">10:30
    <option value="11:00" selected="selected">11:00
    <option value="11:30" selected="selected">11:30
    <option value="12:00" selected="selected">12:00
    <option value="12:30" selected="selected">12:30
    <option value="13:00" selected="selected">13:00
    <option value="13:30" selected="selected">13:30
    <option value="14:00" selected="selected">14:00
    <option value="14:30" selected="selected">14:30
    <option value="15:00" selected="selected">15:00
    <option value="15:30" selected="selected">15:30
    <option value="16:00" selected="selected">16:00
    <option value="16:30" selected="selected">16:30
    <option value="17:00" selected="selected">17:00
    <option value="17:30" selected="selected">17:30
    <option value="18:00" selected="selected">18:00
    <option value="18:30" selected="selected">18:30
    <option value="19:00" selected="selected">19:00
    <option value="19:30" selected="selected">19:30
    <option value="20:00" selected="selected">20:00
    <option value="20:30" selected="selected">20:30
    <option value="21:00" selected="selected">21:00
    <option value="21:30" selected="selected">21:30
    <option value="22:00" selected="selected">22:00
    <option value="22:30" selected="selected">22:30
    <option value="23:00" selected="selected">23:00
    <option value="23:30" selected="selected">23:30



    groups->current_group->id, 'e2e_closed' ); ?>

    <option value="0:00" selected="selected">0:00
    <option value="0:30" selected="selected">0:30
    <option value="1:00" selected="selected">1:00
    <option value="1:30" selected="selected">1:30
    <option value="2:00" selected="selected">2:00
    <option value="2:30" selected="selected">2:30
    <option value="3:00" selected="selected">3:00
    <option value="3:30" selected="selected">3:30
    <option value="4:00" selected="selected">4:00
    <option value="4:30" selected="selected">4:30
    <option value="5:00" selected="selected">5:00
    <option value="5:30" selected="selected">5:30
    <option value="6:00" selected="selected">6:00
    <option value="6:30" selected="selected">6:30
    <option value="7:00" selected="selected">7:00
    <option value="7:30" selected="selected">7:30
    <option value="8:00" selected="selected">8:00
    <option value="8:30" selected="selected">8:30
    <option value="9:00" selected="selected">9:00
    <option value="9:30" selected="selected">9:30
    <option value="10:00" selected="selected">10:00
    <option value="10:30" selected="selected">10:30
    <option value="11:00" selected="selected">11:00
    <option value="11:30" selected="selected">11:30
    <option value="12:00" selected="selected">12:00
    <option value="12:30" selected="selected">12:30
    <option value="13:00" selected="selected">13:00
    <option value="13:30" selected="selected">13:30
    <option value="14:00" selected="selected">14:00
    <option value="14:30" selected="selected">14:30
    <option value="15:00" selected="selected">15:00
    <option value="15:30" selected="selected">15:30
    <option value="16:00" selected="selected">16:00
    <option value="16:30" selected="selected">16:30
    <option value="17:00" selected="selected">17:00
    <option value="17:30" selected="selected">17:30
    <option value="18:00" selected="selected">18:00
    <option value="18:30" selected="selected">18:30
    <option value="19:00" selected="selected">19:00
    <option value="19:30" selected="selected">19:30
    <option value="20:00" selected="selected">20:00
    <option value="20:30" selected="selected">20:30
    <option value="21:00" selected="selected">21:00
    <option value="21:30" selected="selected">21:30
    <option value="22:00" selected="selected">22:00
    <option value="22:30" selected="selected">22:30
    <option value="23:00" selected="selected">23:00
    <option value="23:30" selected="selected">23:30



    groups->current_group->id, 'e2e_days' ); ?>

    <option value="3x THU-FRI-SAT" selected="selected">3x THU-FRI-SAT
    <option value="4x WED-THU-FRI-SAT" selected="selected">4x WED-THU-FRI-SAT
    <option value="4x THU-FRI-SAT-SUN" selected="selected">4x THU-FRI-SAT-SUN
    <option value="5x WED-THU-FRI-SAT-SUN" selected="selected">5x WED-THU-FRI-SAT-SUN
    <option value="5x THU-FRI-SAT-SUN-MON" selected="selected">5x THU-FRI-SAT-SUN-MON
    <option value="6x WED-THU-FRI-SAT-SUN-MON" selected="selected">6x WED-THU-FRI-SAT-SUN-MON
    <option value="6x THU-FRI-SAT-SUN-MON-TUE" selected="selected">6x THU-FRI-SAT-SUN-MON-TUE
    <option value="7x WED-THU-FRI-SAT-SUN-MON-TUE" selected="selected">7x WED-THU-FRI-SAT-SUN-MON-TUE



    Contact details


    groups->current_group->id, 'e2e_url' ); ?>

    <input type="text" name="group-url" id="group-url" value="" />

    groups->current_group->id, 'e2e_phone' ); ?>

    <input type="text" name="group-phone" id="group-phone" value="" />

    groups->current_group->id, 'e2e_email' ); ?>

    <input type="text" name="group-email" id="group-email" value="" />

    groups->current_group->id, 'e2e_facebook' ); ?>

    <input type="text" name="group-facebook" id="group-facebook" value="" />

    groups->current_group->id, 'e2e_myspace' ); ?>

    <input type="text" name="group-myspace" id="group-myspace" value="" />

    groups->current_group->id, 'e2e_twitter' ); ?>

    <input type="text" name="group-twitter" id="group-twitter" value="" />

    groups->current_group->id, 'e2e_skype' ); ?>

    <input type="text" name="group-skype" id="group-skype" value="" />

    <?php

    return;
    }

    function group_details_save( $group_id ) {
    global $bp, $wpdb;

    $plain_fields = array(
    'text',
    'country',
    'province',
    'city',
    'street',
    'type',
    'capacity',
    'opened',
    'closed',
    'days',
    'url',
    'phone',
    'email',
    'facebook',
    'myspace',
    'twitter',
    'skype'
    );


    foreach( $plain_fields as $field ) {
    $key = 'group-' . $field;
    if ( isset( $_POST[$key] ) ) {
    $value = $_POST[$key];
    groups_update_groupmeta( $group_id, 'e2e_' . $field, $value );
    }
    }


    }
    ?>
    alfredojp
    Participant

    @modemlooper did you see the other code i posted above? which one would be more appropriate to follow to create new fields in the group creation process?

    Thank for the confirmation that it creates a new screen. which is cool too but i also need extra fields for city, state, country, phone number and mestre(teacher)

    #118550
    alfredojp
    Participant

    @Stigmartyr
    @DJPaul
    Thank yo both for your input
    I’m pretty good with MySql but not so hot with PHP. I’ve spent two weeks trying to figure out how to add
    another field(s) to the group creation so that a few more fields would be standard for the groups (i already know about that plugin that lets group admin put in fields aftewards), hours and hours and hours on these same forums with little help. I ran across group extension API code ( https://codex.buddypress.org/developer-docs/group-extension-api/ ) but i have no idea how to use it. What do i add or edit so that i can have group fields (at creation) for city, state, country and phone number.

    #85938
    Dave Douglas
    Participant

    This is something I have been struggling with for a couple of years now. I am just getting on the W/BP platform having ditched our old solution…

    Your concept is perfect for what we are trying to do.

    We are a philanthropic social network and we have four basic “types” of groups.
    1.) Groups centered around Causes – Global Issues such as Clean Drinking Water, Child Trafficking, Climate Change, etc.
    2.) Groups centered around Occupations – Firefighters, Medical Personnel, Airline Personnel, etc. They all come together to help a project or region by volunteering their services.
    3.) Groups centered around a Project – Rebuilding a School in Nepal, Providing Shoes for Kids in Nicaragua, Creating a Sewing School in Indonesia, etc.
    4.) Groups centered around a Geographic Location – San Francisco, Nepal, Buenos Aires, etc.

    Each “group type”, although similar in nature has different nuances on how they work and what needs they have. For example, the Project group type usually has some project management needs along with specific deadlines. We usually have trips that go to these projects and those trips typically cater to one of our Occupation Groups and falls under a global Cause that we support. Different Geographic Location groups might be interested in the trip too if it is coming to their area or if we have special airline discounts from a specific city like New York.

    What I like about your approach is that you are thinking of letting users create their own groups under specific categories or “group types”.

    We could benefit from drop-down lists that require the user to choose a “group type” when they create a group and then follow up with further selections (that we create, or fill-in-the-blank) based on their selection.

    For example, if they choose:
    Cause – What is the focus? Clean Water (from list), What country? Indonesia (from list)
    Occupation – What is the Occupation? Firefighters* (from list), What country? United States (from list), What City/Town? Dallas(fill-in-blank if international) *this group could be a sub-group of our global Firefighter group
    Project – What is the project? Drill Clean Water Well, What country? Indonesia (from list), What City/Town? Kalimantan (fill-in-blank), How many people does it impact? 250, What occupations can participate? Construction, Medical, General Volunteers

    Maybe you’re not going in this direction, but I wanted to share a real-world example of what we are doing. Maybe it will give you some ideas.

    Thanks for your work!!!

Viewing 25 results - 1 through 25 (of 30 total)
Skip to toolbar