Home Forums Free Themes Education Hub Critical Errors

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #152144
    media@detex.com
    Participant

    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.

    #152239
    Psink
    Keymaster

    Hello

    Can you please share your site URL and some of the reference screenshots of the issue?

    Regards,

    #152279
    media@detex.com
    Participant

    http://www.detex.com

    https://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.

    #152374
    Psink
    Keymaster

    Hello

    Did you use any plugins to manage pdf files? Also, how did you manage to show pdf files in search results

    Regards,

    #152399
    media@detex.com
    Participant

    We do use Relevanssi to enhance the search. It searches and displays PDF results.

    #152417
    Psink
    Keymaster

    Hello

    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,

    #152435
    media@detex.com
    Participant

    This 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.

    #152484
    Psink
    Keymaster

    Ok, I will forward this issue to the theme author. Maybe we will get a solution from him

    Regards,

    #152553
    Psink
    Keymaster

    Hello

    Can you Please disable the breadcrumb and check it if the pdf files opens or not

    Regards,

    #152574
    media@detex.com
    Participant

    Hi, it worked when I disabled the breadcrumbs.

    #152616
    media@detex.com
    Participant

    Am I going to have to keep my breadcrumbs off, or is the developer coming up with a fix for me?

    #152629
    Psink
    Keymaster

    Hello There

    I guess the theme author has already fixed the issue. Can you please update the theme to v2.3.2?

    Regards,

    #152657
    media@detex.com
    Participant

    I updated and it removed the links from my search results page. Page descriptions are there, but I can’t click on any links.

    #152808
    Psink
    Keymaster

    Hello 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=0401c1e018f87483ab30be2f72bf500b

    regards,

    #152835
    media@detex.com
    Participant

    I’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.

Viewing 15 posts - 1 through 15 (of 17 total)
  • You must be logged in to reply to this topic.