[RSS Feed/News] Guest poll create bugsplats

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
When creating a poll as a guest, the following error line will fail, since $thread->User appears to be set, but the value is null regardless:

XF\Service\Poll\Creator Line 127
PHP:

if (isset($content->User) && $content->User->user_id != \XF::visitor()->user_id)

Code:

Code:
ErrorException: [E_WARNING] Attempt to read property "user_id" on null in src\XF\Service\Poll\Creator.php at line 127
XF::handlePhpError() in src\XF\Service\Poll\Creator.php at line 127
XF\Service\Poll\Creator->_save()...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom