PHP error from rule-callbacks.php
-
Noticed the following error in my system log:
Trying to access array offset on value of type null in ..../public_html/wp-content/plugins/content-control/inc/functions/rule-callbacks.php on line 520
If “get_rest_api_intent” is called when global “rest_intent” is null there is code to calculate and set the value of global “rest_intent”. However, the value passed to the return statement apply_filter is the old null value NOT the new calculated value. So I think null will be passed back in this case, causing the error above.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.