Incorrect Use of is_singular Function in Job Postings Plugin
-
Error Report:
Hello,
I encountered an issue with the Job Postings plugin that seems to be related to the misuse of the
is_singular
function. The error message is as follows:wp-content/plugins/job-postings/class-job-postings.php:74 Function is_singular was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. (This message was added in version 3.1.0.)
It appears that the
is_singular
function is being called before the query is run, leading to incorrect behavior. This can be problematic as it causes the function to always return false in this context.Could you please look into this and provide a fix or guidance on how to resolve this issue?
Thank you for your assistance.
Best regards,
Cedus
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.