f.haeder.net

#bug
Just testing photo comments!
BTW: I cannot open above "new post" box. #JavaScript error about colorpicker and autocomplete:

22:48:12.309 TypeError: $(...).colorbox is not a function 1 main.js:157:2
<anonymous> https://f.haeder.net/view/js/main.js:157:2
n.Callbacks/i https://f.haeder.net/view/asset/jquery/dist/jquery.min.js:2:27146
n.Callbacks/j.fireWith https://f.haeder.net/view/asset/jquery/dist/jquery.min.js:2:27914
.ready https://f.haeder.net/view/asset/jquery/dist/jquery.min.js:2:29705
J https://f.haeder.net/view/asset/jquery/dist/jquery.min.js:2:29890


And:
22:48:12.310 TypeError: $(...).search_autocomplete is not a function 1 roland:479:2
<anonymous> https://f.haeder.net/profile/roland:479:2
p.Callbacks/f https://f.haeder.net/addon/xmpp/converse/builds/converse.min.js:237:40721
p.Callbacks/l.fireWith https://f.haeder.net/addon/xmpp/converse/builds/converse.min.js:237:41551
.ready https://f.haeder.net/addon/xmpp/converse/builds/converse.min.js:237:43397
B https://f.haeder.net/addon/xmpp/converse/builds/converse.min.js:237:4081


And /photos seems to be invalid according to documentation of function photos_content(). I follow the link attach to my avatar. Maybe that link is wrong after all?
The daemon is now throwing an E_NOTICE:
Notice: Trying to get property 'tagName' of non-object in /../src/Protocol/OStatus.php on line 354
Code: $first_child = $doc->firstChild->tagName;
More E_NOTICE in AJAX request: (here, preview)
Notice: Undefined index: prv in /var/www/../mod/item.php on line 391
Notice: Undefined index: forum in /var/www/../mod/item.php on line 396
Maybe easy to fix, just didn't use empty/isset function.
Hmm, handle_tag() seems to return an incomplete array.
That has fixed it. :-) The columns exist in contact table. PR is coming up.
And these 2 columns are "binary" columns, means the if() block I mentioned earlier is correct.
The endless story continues:
Notice: Undefined index: wall in /var/www/virtual/../mod/editpost.php on line 113
Notice: Undefined index: post-type in /var/www/virtual/../mod/editpost.php on line 114

My change seem to have fix it but after editing a post the redirect is to /item which seems to be broken.
Yet another one while logging in: Notice: Undefined index: allow_api in /var/www/../addon/xmpp/xmpp.php on line 97
And just another one: Notice: Undefined index: language in /var/www/../addon/curweather/curweather.php on line 106. If this error message occurs, the language is German, but I have selected English here.
And yet another one from worker (latest develop):
PHP Fatal error: Uncaught Error: Class 'Friendica\Model\DBM' not found in /var/www/virtual/../src/Model/GContact.php:953
Stack trace:
#0 /var/www/virtual/../src/Worker/CronJobs.php(285): Friendica\Model\GContact::updateForUser(1)
#1 /var/www/virtual/../src/Worker/CronJobs.php(79): Friendica\Worker\CronJobs::repairDatabase()
#2 [internal function]: Friendica\Worker\CronJobs::execute('repair_database')
#3 /var/www/virtual/../src/Core/Worker.php(346): call_user_func_array('Friendica\\Worke...', Array)
#4 /var/www/virtual/../src/Core/Worker.php(238): Friendica\Core\Worker::execFunction(Array, 'CronJobs', Array, true)
#5 /var/www/virtual/../src/Core/Worker.php(100): Friendica\Core\Worker::execute(Array)
#6 /var/www/virtual/../bin/worker.php(57): Friendica\Core\Worker::processQueue(true)
#7 {main}
thrown in /var/www/virtual/../src/Model/GContact.php on line 953


#back-on-duty
And while requesting to become a follower of a #mastodon account:
Notice: Undefined index: body in /var/www/../src/Protocol/OStatus.php on line 1165
Notice: Undefined index: title in /var/www/../src/Protocol/OStatus.php on line 1923
Notice: Undefined index: guid in /var/www/../src/Protocol/OStatus.php on line 1932
Notice: Undefined index: tag in /var/www/../src/Model/Item.php on line 2786
Notice: Undefined index: tag in /var/www/../src/Model/Item.php on line 2795
Notice: Undefined index: attach in /var/www/../src/Protocol/OStatus.php on line 1374
Some more while deleting a comment:
Notice: Undefined index: remote in /var/www/../include/items.php on line 356
Notice: Undefined index: confirm in /var/www/../include/items.php on line 367
Notice: Undefined index: canceled in /var/www/../include/items.php on line 390


And one after the huge rewrite:
Notice: Use of undefined constant PAGE_COMMUNITY - assumed 'PAGE_COMMUNITY' in /var/www/../src/Model/Contact.php on line 1077
More work for home:
Notice: Undefined index: notifications in /var/www/../mod/notifications.php on line 293
Warning: Invalid argument supplied for foreach() in /var/www/../mod/notifications.php on line 293
Notice: Undefined index: ident in /var/www/../mod/notifications.php on line 312
Notice: Undefined index: notifications in /var/www/../mod/notifications.php on line 317
Notice: Undefined index: ident in /var/www/../mod/notifications.php on line 318
Notice: Undefined variable: notif_header in /var/www/../mod/notifications.php on line 323
More while listing queue jobs:
Notice: Array to string conversion in /var/www/../mod/admin.php on line 788
Notice: Array to string conversion in /var/www/../mod/admin.php on line 788
Notice: Array to string conversion in /var/www/../mod/admin.php on line 788


And the worker throws an error:
PHP Fatal error: Uncaught TypeError: Argument 1 passed to Friendica\Protocol\PortableContact::discoverServer() must be of the type array, null given, called in /var/www/../src/Protocol/PortableContact.php on line 1664 and defined in /var/www/../src/Protocol/PortableContact.php:1765
Stack trace:
#0 /var/www/../src/Protocol/PortableContact.php(1664): Friendica\Protocol\PortableContact::discoverServer(NULL)
#1 /var/www/../src/Worker/DiscoverPoCo.php(72): Friendica\Protocol\PortableContact::discoverSingleServer(7277)
#2 [internal function]: Friendica\Worker\DiscoverPoCo::execute('update_server_d...', 7277)
#3 /var/www/../src/Core/Worker.php(346): call_user_func_array('Friendica\\Worke...', Array)
#4 /var/www/../src/Core/Worker.php(238): Friendica\Core\Worker::execFunction(Array, 'DiscoverPoCo', Array, true)
#5 /var/www/... in /var/www/../src/Protocol/PortableContact.php on line 1765


Here, null was handled over from $retdata['body'] and not handled properly. The gserver record in question (id 7277) is a hubzilla server and is reachable.
First bug is solved with PR #5521, the next one is a bit trickier to find out.
2nd #bug is also fixed and addressed with #5522 .
#bug
I think this happens when the worker is running:
PHP Notice: Undefined index: object-type in /var/www/../src/Protocol/OStatus.php on line 1506
PHP Notice: Undefined index: uri in /var/www/../src/Protocol/OStatus.php on line 1918
PHP Notice: Undefined index: body in /var/www/../src/Protocol/OStatus.php on line 1921
PHP Notice: Undefined index: title in /var/www/../src/Protocol/OStatus.php on line 1923
PHP Notice: Undefined index: guid in /var/www/../src/Protocol/OStatus.php on line 1932
PHP Notice: Undefined index: id in /var/www/../src/Protocol/OStatus.php on line 1935
PHP Notice: Undefined index: created in /var/www/../src/Protocol/OStatus.php on line 1941
PHP Notice: Undefined index: edited in /var/www/../src/Protocol/OStatus.php on line 1942
Long time no update at this matter from my side. I had been to busy with other things like #OSM (sometimes) and mostly relaxing from work.
#OSM