Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

212
Views
Wordpress Search Not Working - DIVI & Elementor

After hours of trying to figure out what is happening with the search field on my client website, the thing is that doesn't mind what I search, the search always shows the same result, in this case a product page. (In the website are posts, products, news...). My intention is to display all product pages of the same category, for example, if I search for "Axles", display all the Axles products.

I decided to go for debugging and those are the errors that I got:

 [28-Oct-2021 11:43:50 UTC] PHP Notice:  Trying to get property 'count' of non-object in /var/www/vhosts/dev2020.distag.com/httpdocs/wp-content/themes/Divi_Child/header.php on line 43 [28-Oct-2021 11:44:00 UTC] PHP Notice:  Trying to get property 'parent' of non-object in /var/www/vhosts/dev2020.distag.com/httpdocs/wp-content/themes/Divi_Child/header.php on line 27 [28-Oct-2021 11:44:00 UTC] PHP Notice:  Trying to get property 'taxonomy' of non-object in /var/www/vhosts/dev2020.distag.com/httpdocs/wp-content/themes/Divi_Child/header.php on line 28 [28-Oct-2021 11:44:00 UTC] PHP Notice:  Trying to get property 'term_id' of non-object in /var/www/vhosts/dev2020.distag.com/httpdocs/wp-content/themes/Divi_Child/header.php on line 28 [28-Oct-2021 11:44:03 UTC] PHP Notice:  Trying to get property 'count' of non-object in /var/www/vhosts/dev2020.distag.com/httpdocs/wp-content/themes/Divi_Child/header.php on line 43 [28-Oct-2021 11:44:16 UTC] PHP Notice:  Trying to get property 'parent' of non-object in /var/www/vhosts/dev2020.distag.com/httpdocs/wp-content/themes/Divi_Child/header.php on line 27 [28-Oct-2021 11:44:16 UTC] PHP Notice:  Trying to get property 'taxonomy' of non-object in /var/www/vhosts/dev2020.distag.com/httpdocs/wp-content/themes/Divi_Child/header.php on line 28 [28-Oct-2021 11:44:16 UTC] PHP Notice:  Trying to get property 'term_id' of non-object in /var/www/vhosts/dev2020.distag.com/httpdocs/wp-content/themes/Divi_Child/header.php on line 28 [28-Oct-2021 11:44:20 UTC] PHP Notice:  Trying to get property 'count' of non-object in /var/www/vhosts/dev2020.distag.com/httpdocs/wp-content/themes/Divi_Child/header.php on line 43

And in the photo you can see the specific lines of code;

Hope some of the devs over here can help me and find a solution for that.

Many thanks.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!