php warning on lesson pages
-
When a user who is not logged in opens a lesson page, a php warning appears after the expected message that you need to be logged in to access this page:
Warning: count(): Parameter must be an array or an object that implements Countable in …/wp-includes/comment-template.php on line 1521
This warning only appears on lesson pages, not on course pages or module pages. It also appears if I disable commenting on this particular page.
Do you have a solution for this?
Thanks.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘php warning on lesson pages’ is closed to new replies.