متابعة فقط عشان ال documentation لاحقا باذن الله
كود:
ErrorException: [E_WARNING] Attempt to read property "user_id" on null src/addons/shqawe/Whispers/Entity/WhisperEntity.php:35
Generated by:
Stack trace
#0 src/addons/shqawe/Whispers/Entity/WhisperEntity.php(35): XF::handlePhpError(2, '[E_WARNING] Att...', '/home/site/p...', 35)
#1 src/XF/Mvc/Entity/Entity.php(1330): shqawe\Whispers\Entity\WhisperEntity->_postSave()
#2 src/addons/shqawe/Whispers/Pub/Controller/WhisperController.php(154): XF\Mvc\Entity\Entity->save()
#3 src/addons/shqawe/Whispers/Pub/Controller/WhisperController.php(134): shqawe\Whispers\Pub\Controller\WhisperController->pageSaveProcess()
#4 src/XF/Mvc/Dispatcher.php(362): shqawe\Whispers\Pub\Controller\WhisperController->actionSave(Object(XF\Mvc\ParameterBag))
#5 src/XF/Mvc/Dispatcher.php(265): XF\Mvc\Dispatcher->dispatchClass('shqawe\\Whispers...', 'Save', Object(XF\Mvc\RouteMatch), Object(shqawe\Whispers\Pub\Controller\WhisperController), NULL)
#6 src/XF/Mvc/Dispatcher.php(121): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(shqawe\Whispers\Pub\Controller\WhisperController), NULL)
#7 src/XF/Mvc/Dispatcher.php(63): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#8 src/XF/App.php(2824): XF\Mvc\Dispatcher->run()
#9 src/XF.php(814): XF\App->run()
#10 index.php(23): XF::runApp('XF\\Pub\\App')
#11 {main}