Thank you for reporting this.
Can you tell me what version of PHP you are using?
Hi Joachim,
it’S php 7.0
btw: The post above is spam, isn’t it? Please remove.
Hi Joachim,
I got a “solution” that avoids the notice above the header. But the notice is still visible in wp-debug.
I posted the solution in my thread here:
https://stackoverflow.com/questions/45299990/error-notice-on-blog-page-from-content-aware-sidbars-plugin/45338580#45338580
EDIT: Have you any idea why I can’t change the sidebar on that blog page?
https://www.test.rainerklar.de/blog-fuer-verjuengung-und-gesundheit/
kind regards,
Dan-cer
-
This reply was modified 8 years, 10 months ago by
Dan-cer. Reason: changing some details
@dan-cer
It does look like there is a spam message in this thread. Unfortunately I do not have delete or edit access for posts, only forum moderators have that.
It’s great that you solved the problem, however, adding a @ will just suppress the error, not remove it.
I tried testing the plugin again with PHP7, and I can not reproduce the problem. And I can’t really see why there even is a problem, as the line before checks if $data is an array.
To display the sidebar on the blog page, you should add a condition with Posts, click on Settings in the lower right corner and disable Singulars.
Let me know if this works!
Hi Joachim,
I haven’t the slightest idea what you suggest. Where should I add what kind of condition, where are the settings, …
Have you a screenshot of this or would you please give some details?
thank you very much!
kind regards,
Rainer
Sorry about the delayed answer.
I recommend reading the following article to learn more about how to take full advantage of sidebar conditions, including how to display sidebars on the Blog page:
https://dev.institute/docs/content-aware-sidebars/getting-started/display-sidebar-simple/
Let me know if this helps!