“Pakistan Trade Hub Live Session — Explore Top Products & Grab Deals Today!”
“Mega Trade Week Starts — Buy Local, Save Big & Support Pakistani Businesses!”
“Exclusive Export Opportunities — Discover Products & Connect with Buyers!”
“Flash Deals on Pakistani Exports — Don’t Miss Limited-Time Offers!”
SELECT SQL_CALC_FOUND_ROWS customers.id, customers.member_type, customers.sub_type, customers.company_logo, customers.company_name
, customers.slug, customers.first_name, customers.last_name, customers.phone, customers.mobile, customers.email
, customers.designation, customers.ntn, customers.website, customers.dob, customers.photo
, customers.city, customers.state, customers.country, customers.status, customers.package_id, customers.package_status
, customers.short_name, customers.falcon_profile_url, customers.profile_photo
, is_completed, profile_access
, (
(customers.company_name = 'Naran Synthetic White Vinegar (500ml Bottle) – Premium Food Grade Vinegar for Cooking') * 100
+ (customers.company_name LIKE 'Naran Synthetic White Vinegar (500ml Bottle) – Premium Food Grade Vinegar for Cooking%') * 50
+ (customers.company_name LIKE '%Naran Synthetic White Vinegar (500ml Bottle) – Premium Food Grade Vinegar for Cooking%') * 20
+ (search.keyword LIKE '%Naran Synthetic White Vinegar (500ml Bottle) – Premium Food Grade Vinegar for Cooking%') * 5
+ (search.keyword LIKE '%Naran%') * 2
+ (search.keyword LIKE '%Synthetic%') * 2
+ (search.keyword LIKE '%White%') * 2
+ (search.keyword LIKE '%Vinegar%') * 2
+ (search.keyword LIKE '%(500ml%') * 2
+ (search.keyword LIKE '%Bottle)%') * 2
+ (search.keyword LIKE '%–%') * 2
+ (search.keyword LIKE '%Premium%') * 2
+ (search.keyword LIKE '%Food%') * 2
+ (search.keyword LIKE '%Grade%') * 2
+ (search.keyword LIKE '%Vinegar%') * 2
+ (search.keyword LIKE '%for%') * 2
+ (search.keyword LIKE '%Cooking%') * 2
) AS relevance
FROM customers
LEFT JOIN customer_own_products ON (customer_own_products.created_by=customers.id)
LEFT JOIN customer_products ON (customers.id = customer_products.customer_id)
LEFT JOIN products ON (products.id = customer_products.product_id)
LEFT JOIN search ON (customers.id = search.member_id)
WHERE 1 AND customers.status='Active'
AND customers.member_type IN('Basic', 'Standard', 'Premium', 'Premium Plus')
AND customers.parent_id = 0
AND ((products.title LIKE '%Naran%' OR products.keywords LIKE '%Naran%' OR customer_own_products.title LIKE '%Naran%' OR customer_own_products.keywords LIKE '%Naran%') AND (products.title LIKE '%Synthetic%' OR products.keywords LIKE '%Synthetic%' OR customer_own_products.title LIKE '%Synthetic%' OR customer_own_products.keywords LIKE '%Synthetic%') AND (products.title LIKE '%White%' OR products.keywords LIKE '%White%' OR customer_own_products.title LIKE '%White%' OR customer_own_products.keywords LIKE '%White%') AND (products.title LIKE '%Vinegar%' OR products.keywords LIKE '%Vinegar%' OR customer_own_products.title LIKE '%Vinegar%' OR customer_own_products.keywords LIKE '%Vinegar%') AND (products.title LIKE '%(500ml%' OR products.keywords LIKE '%(500ml%' OR customer_own_products.title LIKE '%(500ml%' OR customer_own_products.keywords LIKE '%(500ml%') AND (products.title LIKE '%Bottle)%' OR products.keywords LIKE '%Bottle)%' OR customer_own_products.title LIKE '%Bottle)%' OR customer_own_products.keywords LIKE '%Bottle)%') AND (products.title LIKE '%–%' OR products.keywords LIKE '%–%' OR customer_own_products.title LIKE '%–%' OR customer_own_products.keywords LIKE '%–%') AND (products.title LIKE '%Premium%' OR products.keywords LIKE '%Premium%' OR customer_own_products.title LIKE '%Premium%' OR customer_own_products.keywords LIKE '%Premium%') AND (products.title LIKE '%Food%' OR products.keywords LIKE '%Food%' OR customer_own_products.title LIKE '%Food%' OR customer_own_products.keywords LIKE '%Food%') AND (products.title LIKE '%Grade%' OR products.keywords LIKE '%Grade%' OR customer_own_products.title LIKE '%Grade%' OR customer_own_products.keywords LIKE '%Grade%') AND (products.title LIKE '%Vinegar%' OR products.keywords LIKE '%Vinegar%' OR customer_own_products.title LIKE '%Vinegar%' OR customer_own_products.keywords LIKE '%Vinegar%') AND (products.title LIKE '%for%' OR products.keywords LIKE '%for%' OR customer_own_products.title LIKE '%for%' OR customer_own_products.keywords LIKE '%for%') AND (products.title LIKE '%Cooking%' OR products.keywords LIKE '%Cooking%' OR customer_own_products.title LIKE '%Cooking%' OR customer_own_products.keywords LIKE '%Cooking%'))
GROUP BY customers.id
ORDER BY FIELD(customers.member_type,'Premium Plus','Premium','Standard','Basic'), relevance DESC, customers.ordering ASC
LIMIT 0,20
Fatal error: Uncaught Error: Call to a member function result() on bool in /home/pak87trade58hub/public_html/application/views/themes/falcon/search.php:188
Stack trace:
#0 /home/pak87trade58hub/public_html/system/core/Loader.php(833): include()
#1 /home/pak87trade58hub/public_html/system/core/Loader.php(419): CI_Loader->_ci_load(Array)
#2 /home/pak87trade58hub/public_html/application/models/template.php(190): CI_Loader->view('themes/falcon/s...', Array)
#3 /home/pak87trade58hub/public_html/application/controllers/page.php(128): Template->load('search.php', Array)
#4 /home/pak87trade58hub/public_html/application/controllers/page.php(77): Page->page('search.php')
#5 /home/pak87trade58hub/public_html/system/core/CodeIgniter.php(359): Page->index()
#6 /home/pak87trade58hub/public_html/index.php(208): require_once('/home/pak87trad...')
#7 {main}
thrown in /home/pak87trade58hub/public_html/application/views/themes/falcon/search.php on line 188