“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 = 'BOPP Packaging Tapes – Clear and brown packaging sealing tapes') * 100
+ (customers.company_name LIKE 'BOPP Packaging Tapes – Clear and brown packaging sealing tapes%') * 50
+ (customers.company_name LIKE '%BOPP Packaging Tapes – Clear and brown packaging sealing tapes%') * 20
+ (search.keyword LIKE '%BOPP Packaging Tapes – Clear and brown packaging sealing tapes%') * 5
+ (search.keyword LIKE '%BOPP%') * 2
+ (search.keyword LIKE '%Packaging%') * 2
+ (search.keyword LIKE '%Tapes%') * 2
+ (search.keyword LIKE '%–%') * 2
+ (search.keyword LIKE '%Clear%') * 2
+ (search.keyword LIKE '%and%') * 2
+ (search.keyword LIKE '%brown%') * 2
+ (search.keyword LIKE '%packaging%') * 2
+ (search.keyword LIKE '%sealing%') * 2
+ (search.keyword LIKE '%tapes%') * 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 '%BOPP%' OR products.keywords LIKE '%BOPP%' OR customer_own_products.title LIKE '%BOPP%' OR customer_own_products.keywords LIKE '%BOPP%') AND (products.title LIKE '%Packaging%' OR products.keywords LIKE '%Packaging%' OR customer_own_products.title LIKE '%Packaging%' OR customer_own_products.keywords LIKE '%Packaging%') AND (products.title LIKE '%Tapes%' OR products.keywords LIKE '%Tapes%' OR customer_own_products.title LIKE '%Tapes%' OR customer_own_products.keywords LIKE '%Tapes%') AND (products.title LIKE '%–%' OR products.keywords LIKE '%–%' OR customer_own_products.title LIKE '%–%' OR customer_own_products.keywords LIKE '%–%') AND (products.title LIKE '%Clear%' OR products.keywords LIKE '%Clear%' OR customer_own_products.title LIKE '%Clear%' OR customer_own_products.keywords LIKE '%Clear%') AND (products.title LIKE '%and%' OR products.keywords LIKE '%and%' OR customer_own_products.title LIKE '%and%' OR customer_own_products.keywords LIKE '%and%') AND (products.title LIKE '%brown%' OR products.keywords LIKE '%brown%' OR customer_own_products.title LIKE '%brown%' OR customer_own_products.keywords LIKE '%brown%') AND (products.title LIKE '%packaging%' OR products.keywords LIKE '%packaging%' OR customer_own_products.title LIKE '%packaging%' OR customer_own_products.keywords LIKE '%packaging%') AND (products.title LIKE '%sealing%' OR products.keywords LIKE '%sealing%' OR customer_own_products.title LIKE '%sealing%' OR customer_own_products.keywords LIKE '%sealing%') AND (products.title LIKE '%tapes%' OR products.keywords LIKE '%tapes%' OR customer_own_products.title LIKE '%tapes%' OR customer_own_products.keywords LIKE '%tapes%'))
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