Fatal error: Uncaught Error: Call to a member function parseProperties() on null in /var/www/vhosts/domain.tld/httpsdocs/core/model/modx/modelement.class.php:524 Stack trace: #0 /var/www/vhosts/domain.tld/httpsdocs/core/model/modx/modx.class.php(1606): modElement->getProperties() #1 /var/www/vhosts/domain.tld/httpsdocs/core/model/modx/modx.class.php(538): modX->invokeEvent('OnMODXInit', Array) #2 /var/www/vhosts/domain.tld/httpsdocs/setup/includes/modinstall.class.php(491): modX->initialize('mgr') #3 /var/www/vhosts/domain.tld/httpsdocs/setup/includes/modinstall.class.php(149): modInstall->_modx(Array) #4 /var/www/vhosts/domain.tld/httpsdocs/setup/includes/test/modinstalltest.class.php(306): modInstall->getConnection() #5 /var/www/vhosts/domain.tld/httpsdocs/setup/includes/test/modinstalltest.class.php(42): modInstallTest->_checkDatabase() #6 /var/www/vhosts/domain.tld/httpsdocs/setup/includes/modinstall.class.php(228): modInstallTest->run(1) #7 /var/www/vhosts/domain.tld/httpsdocs/setu in /var/www/vhosts/domain.tld/httpsdocs/core/model/modx/modelement.class.php on line 524
Hey there,
I'm always getting this error after start upgrading with upgradeModx:
Fatal error: Uncaught Error: Call to a member function parseProperties() on null in /var/www/vhosts/domain.tld/httpsdocs/core/model/modx/modelement.class.php:524 Stack trace: #0 /var/www/vhosts/domain.tld/httpsdocs/core/model/modx/modx.class.php(1606): modElement->getProperties() #1 /var/www/vhosts/domain.tld/httpsdocs/core/model/modx/modx.class.php(538): modX->invokeEvent('OnMODXInit', Array) #2 /var/www/vhosts/domain.tld/httpsdocs/setup/includes/modinstall.class.php(491): modX->initialize('mgr') #3 /var/www/vhosts/domain.tld/httpsdocs/setup/includes/modinstall.class.php(149): modInstall->_modx(Array) #4 /var/www/vhosts/domain.tld/httpsdocs/setup/includes/test/modinstalltest.class.php(306): modInstall->getConnection() #5 /var/www/vhosts/domain.tld/httpsdocs/setup/includes/test/modinstalltest.class.php(42): modInstallTest->_checkDatabase() #6 /var/www/vhosts/domain.tld/httpsdocs/setup/includes/modinstall.class.php(228): modInstallTest->run(1) #7 /var/www/vhosts/domain.tld/httpsdocs/setu in /var/www/vhosts/domain.tld/httpsdocs/core/model/modx/modelement.class.php on line 524
...what can I do?
BTW: posted this in Slack->Modx->general also
Fatal error: Uncaught Error: Call to a member function parseProperties() on null in /var/www/vhosts/domain.tld/httpsdocs/core/model/modx/modelement.class.php:524 Stack trace: #0 /var/www/vhosts/domain.tld/httpsdocs/core/model/modx/modx.class.php(1606): modElement->getProperties() #1 /var/www/vhosts/domain.tld/httpsdocs/core/model/modx/modx.class.php(538): modX->invokeEvent('OnMODXInit', Array) #2 /var/www/vhosts/domain.tld/httpsdocs/setup/includes/modinstall.class.php(491): modX->initialize('mgr') #3 /var/www/vhosts/domain.tld/httpsdocs/setup/includes/modinstall.class.php(149): modInstall->_modx(Array) #4 /var/www/vhosts/domain.tld/httpsdocs/setup/includes/test/modinstalltest.class.php(306): modInstall->getConnection() #5 /var/www/vhosts/domain.tld/httpsdocs/setup/includes/test/modinstalltest.class.php(42): modInstallTest->_checkDatabase() #6 /var/www/vhosts/domain.tld/httpsdocs/setup/includes/modinstall.class.php(228): modInstallTest->run(1) #7 /var/www/vhosts/domain.tld/httpsdocs/setu in /var/www/vhosts/domain.tld/httpsdocs/core/model/modx/modelement.class.php on line 524
That's parser-related. If you (have) use(d) pdoTools, reinstalling it will normally fix that, or making sure the parser related settings are empty will restore that back to the default.
Quote from: markh at Aug 28, 2018, 08:28 PMThat's parser-related. If you (have) use(d) pdoTools, reinstalling it will normally fix that, or making sure the parser related settings are empty will restore that back to the default.
Agree with you mate. Reinstalling pDOtolls will fix this maybe.