Yes, there’s a small error in the code; this notice pops up if logging is disabled.
It’s nothing dangerous, it’s easy to fix and will be fixed in version 4.0.11. You can see the Github issue page here, there’s a solution: https://github.com/msaari/relevanssi/issues/11
Same here. Thanks.
Notice: Undefined variable: content in /wp-content/plugins/relevanssi/lib/privacy.php on line 46
Getting white screen when updating a post:
Warning: Cannot modify header information – headers already sent by (output started at /wp-content/plugins/relevanssi/lib/privacy.php:46) in /wp-includes/pluggable.php on line 1216
-
This reply was modified 2 years, 8 months ago by
John.
I just updated to 4.0.10 and immediately, the wp admin displays only a blank page. I only know enough about coding to get myself in trouble. Could you please spell out where (in what file) to put the fix?
All I understand is that the fix is on the following page but not how to implement it:
https://github.com/msaari/relevanssi/commit/b9979646c74ef37b7bc45651d30d75cfb2ba4414
At this point, in order to see the wp admin area, I have had to disable Relevanssi, which is a less than optimum solution.
Thank you.
-E Morris
-
This reply was modified 2 years, 8 months ago by
llizard.
Please excuse me for appearing to reply to myself.
I took a plunge at trying to understand and went into the relevanssi files to add $content = '';
to line 29 of /plugins/relevanssi/lib/privacy.php
as per the following:
https://github.com/msaari/relevanssi/commit/b9979646c74ef37b7bc45651d30d75cfb2ba4414
I then reactivated Relevanssi. Alas. It is still causing the admin area to throw a blank page. I do not know how to find out what the exact error message is. Please advise so I can enable relevanssi again.
Thank you.
-E Morris
Ok, so it is slightly more dangerous than it seemed. Adding the
$content = '';
should fix the notices and warnings, though.
If you’re not running WP 4.9.6, that’ll also cause a blank admin page. That’s not good.
I’ll release a fixed version now that’ll sort out both of these issues, and then everything should work better.
Many thanks Mikko;
The update did the trick and the blank page syndrome has disappeared.
E Morris