• Hello,

    in my apache logs, since the last update, I can see these warning

    Attempt to assign property of non-object in /wp-content/plugins/relevanssi/lib/search.php
    on line 1391
    on line 1396

    Could you please help?
    Best

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Mikko Saari

    (@msaari)

    Sorry, but I can’t – I’d need to know more about the circumstances. The lines have to do with post title highlighting, and the problem is caused when Relevanssi is trying to highlight the title of something that is not an actual post. So I’d need to know what’s happening to make Relevanssi try to highlight a non-post. What kind of content is Relevanssi handling when the errors happen?

    I can always make it so the errors can’t happen, but instead of fixing the symptoms, I’d like to figure out what’s going on so I can fix the cause of the problems.

    Thread Starter seb06

    (@seb06)

    I use search & filter with relevanssi and I use it to search on the woocommerce page only.

    So post are products…

    I do not have more information…

    Hope this helps.

    Thanks

    Plugin Author Mikko Saari

    (@msaari)

    Sorry, this isn’t unfortunately enough to figure out where the problem actually is.

    Thread Starter seb06

    (@seb06)

    So what do you need??

    I know that I want that result to be highlighted when make my search but that is all…
    Best

    Plugin Author Mikko Saari

    (@msaari)

    Is the highlighting working? Is the plugin generally doing what it is supposed to do?

    In order to figure out what’s happening, I’d need to know when this error happens and what kind of data is being fed to Relevanssi when it happens.

    Can you turn error messages on on your site, so you could see what is going on when the error happens?

    Thread Starter seb06

    (@seb06)

    No the highlighting is not working, it has never worked…

    Sorry, I cannot turn error message as the website is live..

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘PHP warning’ is closed to new replies.