Fatal error: Call to a member function escape() on null
@Friendica Developers I get the following error after I updated to latest develop
code:
Fatal error: Uncaught Error: Call to a member function escape() on null in /../friendica/include/dba.php on line 1104
Error: Call to a member function escape() on null in /../friendica/include/dba.php on line 1104
Call Stack:
0.0036 371800 1. {main}() /../friendica/include/dbstructure.php:0
0.0533 938728 2. dbstructure_run(array(2), long) /../friendica/include/dbstructure.php:1827
0.0651 1037352 3. update_structure(true, true, ???, ???) /../friendica/include/dbstructure.php:1783
0.0654 1038120 4. Friendica\Core\Config::set(string(6), string(11), long) /../friendica/include/dbstructure.php:207
0.0655 1040408 5. dba::update(string(6), array(1), array(2), true) /../friendica/src/Core/Config.php:167
Variables in local scope (#5):
$array_element = *uninitialized*
$array_key = *uninitialized*
$condition = array ('cat' => 'system', 'k' => 'maintenance')
$condition_string = *uninitialized*
$content = *uninitialized*
$do_insert = *uninitialized*
$do_update = *uninitialized*
$fieldname = *uninitialized*
$fields = array ('v' => '1')
$old_fields = TRUE
$params = *uninitialized*
$params1 = *uninitialized*
$params2 = *uninitialized*
$sql = *uninitialized*
$table = 'config'
$values = *uninitialized*
Any idea how to fix this? Did I miss something to update on my .htconfig.php
file?
Roland Häder🇩🇪
in reply to Roland Häder🇩🇪 • •XDebug rendered the "Variables in local scope" part which is also very helpful.
Roland Häder🇩🇪
in reply to Roland Häder🇩🇪 • •Roland Häder🇩🇪
in reply to Roland Häder🇩🇪 • •CREATE
statements are being processed, nothing else. I have fixed all my parser errors which were caused by missing curly braces.Roland Häder🇩🇪
in reply to Roland Häder🇩🇪 • •Roland Häder🇩🇪
in reply to Roland Häder🇩🇪 • •Roland Häder🇩🇪
in reply to Roland Häder🇩🇪 • •