restrictcontent.php generating ton of PHP warnings
-
[06-Sep-2021 10:29:10 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/motowr6/public_html/wp-content/plugins/restrict-content/restrictcontent.php on line 21
[06-Sep-2021 10:29:10 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/motowr6/public_html/wp-content/plugins/restrict-content/restrictcontent.php on line 25
[06-Sep-2021 10:29:10 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/motowr6/public_html/wp-content/plugins/restrict-content/restrictcontent.php on line 29
[06-Sep-2021 10:29:10 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/motowr6/public_html/wp-content/plugins/restrict-content/restrictcontent.php on line 33
[06-Sep-2021 10:29:10 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/motowr6/public_html/wp-content/plugins/restrict-content/restrictcontent.php on line 37
[06-Sep-2021 10:29:10 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/motowr6/public_html/wp-content/plugins/restrict-content/restrictcontent.php on line 41It seem to cycle through the lines 21, 25, 29, 33, 37, 31 which points to the “IF” statements in the beginning of the restrictcontent.php file.
It’s generating 20-30MB of logs each day.
Any ideas?
- The topic ‘restrictcontent.php generating ton of PHP warnings’ is closed to new replies.