You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @chermant I am unable to reproduce the warning following your steps. Can you share the whole stack trace?
Can you also share the version of the plugin?
Thanks for sharing! Nothing unusual in the trace. What is surprising is that $redirect_search_term exists as a class property, I don't understand why it would be undefined at all 🤔
@10up/open-source-practice can you try reproducing this issue?
Describe the bug
Hello,
There is an "Undefined property: SRM_Post_Type::$redirect_search_term" when I try to use the search engine on the redirect listing page.
The issue is from the
inc/classes/class-srm-post-type.php
at line 142 :if ( $this->redirect_search_term ) {
The following code is solving this issue by adding a
! empty
:if ( ! empty( $this->redirect_search_term ) ) {
Is it possible to add it on the plugin please ?
Regards,
Clément.
Steps to Reproduce
Screenshots, screen recording, code snippet
No response
Environment information
No response
WordPress information
WordPress : 6.6.2
PHP: 8.2
Framework: Themosis
Code of Conduct
The text was updated successfully, but these errors were encountered: