“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 = 'INDUS Supreme Basmati Rice with lengtt upto 7.45mm approx') * 100
+ (customers.company_name LIKE 'INDUS Supreme Basmati Rice with lengtt upto 7.45mm approx%') * 50
+ (customers.company_name LIKE '%INDUS Supreme Basmati Rice with lengtt upto 7.45mm approx%') * 20
+ (search.keyword LIKE '%INDUS Supreme Basmati Rice with lengtt upto 7.45mm approx%') * 5
+ (search.keyword LIKE '%INDUS%') * 2
+ (search.keyword LIKE '%Supreme%') * 2
+ (search.keyword LIKE '%Basmati%') * 2
+ (search.keyword LIKE '%Rice%') * 2
+ (search.keyword LIKE '%with%') * 2
+ (search.keyword LIKE '%lengtt%') * 2
+ (search.keyword LIKE '%upto%') * 2
+ (search.keyword LIKE '%7.45mm%') * 2
+ (search.keyword LIKE '%approx%') * 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 '%INDUS%' OR products.keywords LIKE '%INDUS%' OR customer_own_products.title LIKE '%INDUS%' OR customer_own_products.keywords LIKE '%INDUS%') AND (products.title LIKE '%Supreme%' OR products.keywords LIKE '%Supreme%' OR customer_own_products.title LIKE '%Supreme%' OR customer_own_products.keywords LIKE '%Supreme%') AND (products.title LIKE '%Basmati%' OR products.keywords LIKE '%Basmati%' OR customer_own_products.title LIKE '%Basmati%' OR customer_own_products.keywords LIKE '%Basmati%') AND (products.title LIKE '%Rice%' OR products.keywords LIKE '%Rice%' OR customer_own_products.title LIKE '%Rice%' OR customer_own_products.keywords LIKE '%Rice%') AND (products.title LIKE '%with%' OR products.keywords LIKE '%with%' OR customer_own_products.title LIKE '%with%' OR customer_own_products.keywords LIKE '%with%') AND (products.title LIKE '%lengtt%' OR products.keywords LIKE '%lengtt%' OR customer_own_products.title LIKE '%lengtt%' OR customer_own_products.keywords LIKE '%lengtt%') AND (products.title LIKE '%upto%' OR products.keywords LIKE '%upto%' OR customer_own_products.title LIKE '%upto%' OR customer_own_products.keywords LIKE '%upto%') AND (products.title LIKE '%7.45mm%' OR products.keywords LIKE '%7.45mm%' OR customer_own_products.title LIKE '%7.45mm%' OR customer_own_products.keywords LIKE '%7.45mm%') AND (products.title LIKE '%approx%' OR products.keywords LIKE '%approx%' OR customer_own_products.title LIKE '%approx%' OR customer_own_products.keywords LIKE '%approx%'))
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