Started getting WP_Error Object error
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page pleaseIf you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.
Quote from Jon on May 16, 2023, 14:08Hi, a site I look after has started showing an error when trying to use a search/filter form
WP_Error Object ( [errors] => Array ( [invalid_taxonomy] => Array ( [0] => Invalid taxonomy. ) ) [error_data] => Array ( ) [additional_data:protected] => Array ( ) )
Not sure how long this has been going on for. We have MDTF version 2.2.9 installed (not sure if it has recently been updated - someone else looks after plugin updates)
Would really appreciate your help trying to fix it. Happy to pay a bit for some additional support for you to fix.
Hi, a site I look after has started showing an error when trying to use a search/filter form
WP_Error Object ( [errors] => Array ( [invalid_taxonomy] => Array ( [0] => Invalid taxonomy. ) ) [error_data] => Array ( ) [additional_data:protected] => Array ( ) )
Not sure how long this has been going on for. We have MDTF version 2.2.9 installed (not sure if it has recently been updated - someone else looks after plugin updates)
Would really appreciate your help trying to fix it. Happy to pay a bit for some additional support for you to fix.
Quote from Pablo Borysenco on May 17, 2023, 09:05Hello
Please paste your license key here - https://share.pluginus.net/image/i20230222134241.png -> https://share.pluginus.net/image/i20230222134511.png
Update the plugin to latest version - https://wp-filter.com/howto/how-to-make-auto-update-for-wordpress-plugins-and-themes-bought-on-envato/
Hello
Please paste your license key here - https://share.pluginus.net/image/i20230222134241.png -> https://share.pluginus.net/image/i20230222134511.png
Update the plugin to latest version - https://wp-filter.com/howto/how-to-make-auto-update-for-wordpress-plugins-and-themes-bought-on-envato/
Quote from Jon on May 17, 2023, 09:26I have just repurchased as was previously purchased through old developer and I didn't have access. Have updated the plugin to the latest version and have added my license key to the private data. Am still getting the error. Would appreciate any help you can give. Thanks
I have just repurchased as was previously purchased through old developer and I didn't have access. Have updated the plugin to the latest version and have added my license key to the private data. Am still getting the error. Would appreciate any help you can give. Thanks
Quote from Pablo Borysenco on May 17, 2023, 18:08Hello
I fixed the fatal error.
But it looks like the filter was not configured, and now there are problems with the display template
Did the filter work before?
Hello
I fixed the fatal error.
But it looks like the filter was not configured, and now there are problems with the display template
Did the filter work before?
Quote from Jon on May 17, 2023, 18:11Ok we're getting there.. yes, the filtering and everything has been working perfectly for years. Not sure why it has suddenly stopped working.
I see that all the searches return 0 results now. And if you enter no filters and press search it takes you to the about page
Ok we're getting there.. yes, the filtering and everything has been working perfectly for years. Not sure why it has suddenly stopped working.
I see that all the searches return 0 results now. And if you enter no filters and press search it takes you to the about page
Quote from Pablo Borysenco on May 18, 2023, 09:25hello
Can I disable plugins to test?
hello
Can I disable plugins to test?
Quote from Jon on May 18, 2023, 09:28Yes you can. What did you edit to fix the fatal error?
If we can't fix it soon we will have to try and roll back to a backup as client is losing out on enquiries
Yes you can. What did you edit to fix the fatal error?
If we can't fix it soon we will have to try and roll back to a backup as client is losing out on enquiries
Quote from Pablo Borysenco on May 18, 2023, 09:36Our developer will take care of it today
Our developer will take care of it today
Quote from Pablo Borysenco on May 18, 2023, 16:48Hello
Ok! I see you rolled back to the old version of the plugin
Hello
Ok! I see you rolled back to the old version of the plugin
Quote from Jon on June 23, 2023, 12:56Hi again, yes the client had to roll back before you got a chance to fix things. They have since tried to update again and got the same error (Have rolled back again now)
I have taken a clone of the site and done some investigating. It looks like the problem occurs when updating ACF from version 5 to 6
I have updated the private credentials with the dev site logins etc. You will see the search is all currently working. But if you update ACF then the error will come back.
Are you able to investigate for me? would really like to get it fixed
Thanks
Hi again, yes the client had to roll back before you got a chance to fix things. They have since tried to update again and got the same error (Have rolled back again now)
I have taken a clone of the site and done some investigating. It looks like the problem occurs when updating ACF from version 5 to 6
I have updated the private credentials with the dev site logins etc. You will see the search is all currently working. But if you update ACF then the error will come back.
Are you able to investigate for me? would really like to get it fixed
Thanks
Quote from Pablo Borysenco on June 26, 2023, 17:35Hello
But if you update ACF then the error will come back. - I can't update this plugin - https://share.pluginus.net/image/i20230626183458.png
Hello
But if you update ACF then the error will come back. - I can't update this plugin - https://share.pluginus.net/image/i20230626183458.png
Quote from Jon on June 26, 2023, 17:39Sorry, you should be able to now
Sorry, you should be able to now
Quote from Pablo Borysenco on June 27, 2023, 17:35Hello
Please do a test
Hello
Please do a test
Quote from Jon on June 27, 2023, 17:41Thanks, the search seems to be functioning but the results output is different to how it was. (looks like the dev site is outputting to the search template, but the live site to an archive template) I have added the live site url into the private data on this post so you can compare
Thanks, the search seems to be functioning but the results output is different to how it was. (looks like the dev site is outputting to the search template, but the live site to an archive template) I have added the live site url into the private data on this post so you can compare
Quote from Pablo Borysenco on June 28, 2023, 14:22Ok! Please do a test
Ok! Please do a test
Quote from Jon on June 29, 2023, 11:06Thank you. The template now seems to be working ok. But the world "NULL" gets printed at the top of the page - could you fix this.
Could you please let me know what the issue was and what was updated or what files? I will need to replicate the fix on the live site next time we do updates
Jon
Thank you. The template now seems to be working ok. But the world"NULL" gets printed at the top of the page - could you fix this.
Could you please let me know what the issue was and what was updated or what files? I will need to replicate the fix on the live site next time we do updates
Jon
Quote from Jon on June 29, 2023, 11:12Removed
Removed
Quote from Pablo Borysenco on June 30, 2023, 09:34Hello
But the world"NULL" gets printed at the top of the page - Done!
In file - \wp-content\plugins\meta-data-filter\index.php - I added code - https://share.pluginus.net/image/i20230630102701.png
$proi_array = array('acf-post-type','acf-taxonomy','wpcf7_contact_form');
if ($output_tpl == 'search' && !in_array($query->query['post_type'],$proi_array)) {The problem is that displaying the result in this template is a side effect. The correct operation is displayed in the search template - https://share.pluginus.net/image/i20230630102958.png
Hello
But the world"NULL" gets printed at the top of the page - Done!
In file - \wp-content\plugins\meta-data-filter\index.php - I added code - https://share.pluginus.net/image/i20230630102701.png
$proi_array = array('acf-post-type','acf-taxonomy','wpcf7_contact_form');
if ($output_tpl == 'search' && !in_array($query->query['post_type'],$proi_array)) {
The problem is that displaying the result in this template is a side effect. The correct operation is displayed in the search template - https://share.pluginus.net/image/i20230630102958.png
Quote from Jon on June 30, 2023, 11:21Many thanks for your help. this appears to be working correctly now and have updated the live site.
Will this fix be added into the plugin files - so we can update the plugin in future and it not get overwritten?
Many thanks for your help. this appears to be working correctly now and have updated the live site.
Will this fix be added into the plugin files - so we can update the plugin in future and it not get overwritten?
Quote from Pablo Borysenco on June 30, 2023, 12:22- so we can update the plugin in future and it not get overwritten? - Unfortunately yes, you need to update this code after installing the new version - Because - https://share.pluginus.net/image/i20230630132141.png
- so we can update the plugin in future and it not get overwritten? - Unfortunately yes, you need to update this code after installing the new version - Because - https://share.pluginus.net/image/i20230630132141.png