Home › Forums › Free Themes › Education Hub › Critical Errors
- This topic has 16 replies, 2 voices, and was last updated 2 years, 8 months ago by media@detex.com.
-
AuthorPosts
-
June 7, 2021 at 3:53 pm #152144media@detex.comParticipant
When clicking on a PDF from the search results page, I get this error.
Notice: Undefined offset: 0 in /var/www/wordpress/wp-content/themes/education-hub/inc/helper/common.php on line 146
Recoverable fatal error: Object of class WP_Error could not be converted to string in /var/www/wordpress/wp-content/themes/education-hub/inc/helper/common.php on line 148
I’ve also started getting this error when clicking on standard pages and also news items. It’s random for those, not always the same page/news item.
June 8, 2021 at 12:09 am #152239PsinkKeymasterHello
Can you please share your site URL and some of the reference screenshots of the issue?
Regards,
June 8, 2021 at 9:35 am #152279media@detex.comParticipanthttps://www.detex.com/wp-content/uploads/2021/06/error.jpg
This is a screenshot of the error I get when I do a search and then click on a PDF in the search results.
June 10, 2021 at 1:07 am #152374PsinkKeymasterHello
Did you use any plugins to manage pdf files? Also, how did you manage to show pdf files in search results
Regards,
June 10, 2021 at 8:50 am #152399media@detex.comParticipantWe do use Relevanssi to enhance the search. It searches and displays PDF results.
June 11, 2021 at 1:17 am #152417PsinkKeymasterHello
Since we are totally unfamiliar with Relevanssi plugins. We have no idea how its works. Can you please report this issue to the Relevanssi plugin author. Maybe they will help you
https://www.relevanssi.com/support/
Regards,
June 11, 2021 at 8:49 am #152435media@detex.comParticipantThis isn’t caused by Relevanssi though. It’s the way the theme is displaying the attachments. The failing code is within the theme, not Relevanssi. It can’t find the category for the attachment or the parent ID of the category for the attachment. I’m not sure how to fix it though.
June 12, 2021 at 10:33 pm #152484PsinkKeymasterOk, I will forward this issue to the theme author. Maybe we will get a solution from him
Regards,
June 14, 2021 at 2:48 am #152553PsinkKeymasterHello
Can you Please disable the breadcrumb and check it if the pdf files opens or not
Regards,
June 14, 2021 at 8:44 am #152574media@detex.comParticipantHi, it worked when I disabled the breadcrumbs.
June 15, 2021 at 3:43 pm #152616media@detex.comParticipantAm I going to have to keep my breadcrumbs off, or is the developer coming up with a fix for me?
June 15, 2021 at 11:34 pm #152629PsinkKeymasterHello There
I guess the theme author has already fixed the issue. Can you please update the theme to v2.3.2?
Regards,
June 16, 2021 at 8:39 am #152657media@detex.comParticipantI updated and it removed the links from my search results page. Page descriptions are there, but I can’t click on any links.
June 17, 2021 at 12:07 am #152808PsinkKeymasterHello there
You have use display:none css for the post title on search result some where in the theme. Can you please remove that css
Check this screen record
https://www.awesomescreenshot.com/video/4159563?key=0401c1e018f87483ab30be2f72bf500bregards,
June 17, 2021 at 9:50 am #152835media@detex.comParticipantI’ve been all over the theme CSS and can’t find this code. Any idea what file it will be in? I’ve been through both the parent and child themes’ style.css file, as well as every other CSS file, and can’t find it anywhere.
-
AuthorPosts
- You must be logged in to reply to this topic.