• We’re developing a website for a client who wishes to have a question and answer system.

    A user who is not logged in can submit a question absolutely fine. However, when a user is logged in (tested with our admin account), the question still submits, but there are some errors that appear and prevent the page from redirecting to the question. The errors present are;

    Notice: Trying to get property of non-object in /home/project/public_html/wp-content/plugins/dw-question-answer/inc/User.php on line 152
    
    Notice: Trying to get property of non-object in /home/project/public_html/wp-content/plugins/dw-question-answer/inc/User.php on line 152
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/project/public_html/wp-content/plugins/dw-question-answer/inc/User.php:152) in /home/project/public_html/wp-includes/pluggable.php on line 1210

    After looking at the code, for some off reason, the issue comes with the $post global, where it doesn’t appear to be an object…

    Any help would be appreciated!

Viewing 1 replies (of 1 total)
  • Plugin Author DesignWall

    (@designwall)

    Hi there,

    We did seen a same question mentioned in our product page. If that is you, you can check it now and we will contact you to solve the problem. In case that’s not you, please send us your site URL, we will check and help you solve the problem.

Viewing 1 replies (of 1 total)

The topic ‘Error after submitting a question while logged in’ is closed to new replies.