Hello, please I need you to send me a screenshot which shows the error showing the plugin. With that much it could help solve the problem quickly.
You can view the error message screengrab on google drive here: https://drive.google.com/file/d/0BxLBdFe6q7v_a1JGdVNzckVCTmc/view?usp=sharing
The error led us to submit a support ticket to the host who told us it was an error with this plugin. I temporarily deactivated it completely so the pages would load and contacted my web guy.
My website guy sent me the following email later that day (yesterday): “I found that when it was turned ON for pages, the problem resolved… so I turned it on for all pages in the general Yuzo settings. I flipped through a few pages, and there didn’t seem to be any errors. Let me know if you have any further reports of errors on any pages, or anything looks askew. :)”
So I guess the error is somewhere in the on/off for Pages section of the plugin code. If we turn it off of pages it breaks them. If we turn them on, they render but we have to go through now and select related posts for all the site pages. 🙂 At least it’s not giving readers error messages now!
It’s weird, displays the error only when the Type Post
not selected “page”. The screenshot does not help me see what the problem is. Please I would like you to send me the link from your website to check that it can be treated.
Same here,
https://www.whisky-circle.info/wp-content/uploads/probleme_yuzo.jpg
first part: with your plugin
2nd part: without
cheers
Rainer
This happened to our site too! I tried using the version you just posted and it did not work. I had no problem before I did the update. It was working perfectly.
This is the message I got when I clicked on my post after using it as a related post. I have to delete the plugin to make my website work again.
Fatal error: Call to a member function have_posts() on a non-object in /home/tcofferdiy/public_html/wp-content/plugins/yuzo-related-post/yuzo_related_post.php on line 642
hi @ilen
now the article is shown correctly, but i miss the related posts: https://www.whisky-circle.info/salzburger-whiskyweekend-2016/
cu
edei
@edei, It seems that there is an error on your web caused by another plugin, because when I run the html appears incomplete, I do not see tags (html) also have to do with Yuzo is as if not running, please check which plugin is causing this.
@ilen
i deactivated all plugins except yuzo and it still doesn´t work 🙁
regards
edei
-
This reply was modified 7 years, 7 months ago by edei.
hi
sorry i missed the update and now the file is gone 🙁
edei
Hi, had the same issue.
the error message:
“call to a member function have_posts() on a non-object
wp-content/plugins/yuzo-related-post/yuzo_related_post.php on line 642”
I added the following:
is_object($the_query_yuzo)
on lines 642, 768, 973 ( in the “if” and the “while” statements)
It fixes the issue ,but i didn’t checked yet if it querys the correct posts
Hope it helps,
Thank You