XF 2.1 Attempted to convert NULL to string/binary

AbuGhaith

Well-known member
during the fresh installation i get this in the step install/index.php?install/step3b

Rich (BB code):
InvalidArgumentException: Attempted to convert NULL to string/binary [creation_watch_state] in src/XF/Mvc/Entity/Entity.php at line 740
XF\Mvc\Entity\Entity->_castValueToType() in src/XF/Mvc/Entity/Entity.php at line 618
XF\Mvc\Entity\Entity->set() in src/XF/Mvc/Entity/Entity.php at line 548
XF\Mvc\Entity\Entity->__set() in src/XF/Entity/UserOption.php at line 95
XF\Entity\UserOption->_setupDefaults() in src/XF/Mvc/Entity/Entity.php at line 89
XF\Mvc\Entity\Entity->__construct() in src/XF/Mvc/Entity/Manager.php at line 690
XF\Mvc\Entity\Manager->instantiateEntity() in src/XF/Mvc/Entity/Manager.php at line 106
XF\Mvc\Entity\Manager->create() in src/XF/Mvc/Entity/Manager.php at line 587
XF\Mvc\Entity\Manager->hydrateDefaultFromRelation() in src/XF/Mvc/Entity/Entity.php at line 407
XF\Mvc\Entity\Entity->getRelationOrDefault() in src/XF/Repository/User.php at line 167
XF\Repository\User->setupBaseUser() in src/XF/Install/Helper.php at line 369
XF\Install\Helper->createInitialUser() in src/XF/Install/Controller/Install.php at line 229
XF\Install\Controller\Install->actionStep3b() in src/XF/Mvc/Dispatcher.php at line 321
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 244
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 100
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 50
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2177
XF\App->run() in src/XF.php at line 392
XF::runApp() in install/index.php at line 14
 
I just did a fresh install with 2.1 without issue, and I don't believe anything significant has really changed here.

Please try the install again.
 
Top Bottom