Please report here any PHP Fatal error message obtained running the 2019.12 stable or 2020.03-dev versions.
Follow-up to #7675
From #8017
By @victort
Expected behavior
click on
communityicon, expect to go to local community page, option to go to global.Actual behavior
blank screen
Steps to reproduce the problem
upgrade(d) from 2019.9 to 2019.12
Friendica version you encountered the problem
Friendica 'Dalmatian Bellflower' 2019.12 - 1327
Friendica source (git, zip)
friendica docker image.
PHP version
php7.3(?) that ships in docker image
SQL version
MySQL 5.5.43
getting blank screen on community page, log produces this:
[Fri Dec 27 06:15:14.337771 2019] [php7:error] [pid 23493] [client 10.42.0.0:53210] PHP Fatal error: Uncaught Error: Class 'Session' not found in /var/www/html/mod/community.php:24 Stack trace: #0 /var/www/html/src/LegacyModule.php(71): community_content(Object(Friendica\\App)) #1 /var/www/html/src/LegacyModule.php(45): Friendica\\LegacyModule::runModuleFunction('content', Array) #2 [internal function]: Friendica\\LegacyModule::content(Array) #3 /var/www/html/src/App/Page.php(310): call_user_func(Array, Array) #4 /var/www/html/src/App/Page.php(364): Friendica\\App\\Page->initContent(Object(Friendica\\App\\Module), Object(Friendica\\App\\Mode)) #5 /var/www/html/src/App.php(795): Friendica\\App\\Page->run(Object(Friendica\\App), Object(Friendica\\App\\BaseURL), Object(Friendica\\App\\Mode), Object(Friendica\\App\\Module), Object(Friendica\\Core\\L10n\\L10n), Object(Friendica\\Core\\Config\\JitConfiguration), Object(Friendica\\Core\\Config\\JitPConfiguration)) #6 /var/www/html/index.php(25): Friendica\\App->runFrontend(Object(Friendica\\App\\Module), Object(Friendica\\App\\Router), Object(Friendica\\Core\\Config\\JitPConfiguration)) #7 {main} in /var/www/html/mod/community.php on line 24, referer: https://social.ross154.net/admin/ 10.42.0.0 - - [27/Dec/2019:06:15:14 +0000] "GET /community HTTP/1.1" 500 385 "https://social.ross154.net/admin/" "Mozilla/5.0 (X11; Linux x86_64; rv:69.0) Gecko/20100101 Firefox/69.0"
Fixed by #8018
Thank you!!!! :1st_place_medal: :100: :+1:
2020.03-dev:
Uncaught TypeError: Argument 1 passed to Friendica\Protocol\Activity::match() must be of the type string, null given, called in .../include/conversation.php on line 148 and defined in .../src/Protocol/Activity.php:199
Stack trace:
#0 .../include/conversation.php(148): Friendica\Protocol\Activity->match(NULL, 'http://activity...')
#1 .../include/api.php(3011): localize_item(Array)
#2 .../include/api.php(3087): api_format_item(Array)
#3 .../include/api.php(2983): api_format_item(Array, 'json', Array, Array, Array)
#4 .../include/api.php(1758): api_format_items(Array, Array, false, 'json')
#5 .../include/api.php(330): api_statuses_public_timeline('json')
#6 .../mod/api.php(117): api_call(Object(Friendica\App))
#7 .../src/LegacyModule.php(71): api_content(Object(Friendica\App))
#8 .../src/LegacyModule.php(45 in .../src/Protocol/Activity.php on line 199
New line numbers:
[10-Mar-2020 04:55:59 Europe/Berlin] PHP Fatal error: Uncaught TypeError: Argument 1 passed to Friendica\Protocol\Activity::match() must be of the type string, null given, called in /var/www/html/libranet/include/conversation.php on line 158 and defined in /var/www/html/libranet/src/Protocol/Activity.php:218
Stack trace:
#0 /var/www/html/libranet/include/conversation.php(158): Friendica\Protocol\Activity->match(NULL, 'http://activity...')
#1 /var/www/html/libranet/include/api.php(2980): localize_item(Array)
#2 /var/www/html/libranet/include/api.php(965): api_format_item(Array, 'json')
#3 /var/www/html/libranet/include/api.php(340): api_account_verify_credentials('json')
#4 /var/www/html/libranet/mod/api.php(132): api_call(Object(Friendica\App))
#5 /var/www/html/libranet/src/LegacyModule.php(90): api_content(Object(Friendica\App))
#6 /var/www/html/libranet/src/LegacyModule.php(64): Friendica\LegacyModule::runModuleFunction('content', Array)
#7 [internal function]: Friendica\LegacyModule::content(Array)
#8 /var/www/html/libranet/src/App/Page.php(332): call_user_fu in /var/www/html/libranet/src/Protocol/Activity.php on line 218
From https://forum.friendi.ca/display/c26a4f32-705d-f742-6db5-7b6083965782
[Error]Argument 1 passed to Friendica\Database\DBA::selectToArray() must be of the type string, array given, called in /home/httpd/docs/friendica.visionel.de/src/Database/DBStructure.php on line 46
2020.03-dev:
Uncaught TypeError: Argument 1 passed to Friendica\Protocol\Activity::match() must be of the type string, null given, called in .../include/conversation.php on line 148 and defined in .../src/Protocol/Activity.php:199 Stack trace: #0 .../include/conversation.php(148): Friendica\Protocol\Activity->match(NULL, 'http://activity...') #1 .../include/api.php(3011): localize_item(Array) #2 .../include/api.php(3087): api_format_item(Array) #3 .../include/api.php(2983): api_format_item(Array, 'json', Array, Array, Array) #4 .../include/api.php(1758): api_format_items(Array, Array, false, 'json') #5 .../include/api.php(330): api_statuses_public_timeline('json') #6 .../mod/api.php(117): api_call(Object(Friendica\App)) #7 .../src/LegacyModule.php(71): api_content(Object(Friendica\App)) #8 .../src/LegacyModule.php(45 in .../src/Protocol/Activity.php on line 199
@annando I'm unfamiliar with the API reshare workings, why wouldn't a $reshared_item array returned by api_share_as_retweet() have no verb key?
PHP Fatal error: Uncaught Error: Call to undefined method Friendica\Module\Api\Mastodon\Instance::getApp() in /src/Module/Api/Mastodon/Instance.php:20
Fixed by #8010
PHP Fatal error: Uncaught Error: Call to a member function t() on null in /include/enotify.php:60
Fixed by https://github.com/friendica/friendica/commit/6f199ab7b32022862af2f37c0ce35a2c0361f7c8
PHP Fatal error: Uncaught Error: Call to undefined method Friendica\Module\HoverCard::getApp() in /src/Module/HoverCard.php:19
Fixed by #8034
Dec 30 01:03:51 manitu php[31331]: PHP Fatal error: Uncaught Error: Call to a member function create() on null in /src/DI.php:86
Dec 30 01:03:51 manitu php[31331]: Stack trace:
Dec 30 01:03:51 manitu php[31331]: #0 /addon/twitter/twitter_sync.php(8): Friendica\DI::__callStatic('app', Array)
Dec 30 01:03:51 manitu php[31331]: #1 /src/Core/Worker.php(402): twitter_sync_run(Array, 3)
Dec 30 01:03:51 manitu php[31331]: #2 /src/Core/Worker.php(346): Friendica\Core\Worker::execFunction(Array, 'twitter_sync_ru...', Array, false)
Dec 30 01:03:51 manitu php[31331]: #3 /src/Core/Worker.php(114): Friendica\Core\Worker::execute(Array)
Dec 30 01:03:51 manitu php[31331]: #4 /bin/worker.php(60): Friendica\Core\Worker::processQueue(false)
Dec 30 01:03:51 manitu php[31331]: #5 {main}
Dec 30 01:03:51 manitu php[31331]: thrown in /src/DI.php on line 86
Invalid.
Dec 30 01:03:32 manitu php[31546]: PHP Fatal error: Uncaught Error: Call to a member function create() on null in /src/DI.php:86
Dec 30 01:03:32 manitu php[31546]: Stack trace:
Dec 30 01:03:32 manitu php[31546]: #0 /src/Worker/Delivery.php(143): Friendica\DI::__callStatic('baseUrl', Array)
Dec 30 01:03:32 manitu php[31546]: #1 [internal function]: Friendica\Worker\Delivery::execute('drop', 22417800, 929218)
Dec 30 01:03:32 manitu php[31546]: #2 /src/Core/Worker.php(400): call_user_func_array('Friendica\\Worke...', Array)
Dec 30 01:03:32 manitu php[31546]: #3 /src/Core/Worker.php(299): Friendica\Core\Worker::execFunction(Array, 'Delivery', Array, true)
Dec 30 01:03:32 manitu php[31546]: #4 /src/Core/Worker.php(114): Friendica\Core\Worker::execute(Array)
Dec 30 01:03:32 manitu php[31546]: #5 /bin/worker.php(60): Friendica\Core\Worker::processQueue(false)
Dec 30 01:03:32 manitu php[31546]: #6 {main}
Dec 30 01:03:32 manitu php[31546]: thrown in /src/DI.php on line 86
Invalid.
Dec 30 01:03:30 manitu php[31074]: PHP Fatal error: Uncaught Error: Call to a member function create() on null in /src/DI.php:86
Dec 30 01:03:30 manitu php[31074]: Stack trace:
Dec 30 01:03:30 manitu php[31074]: #0 /addon/twitter/twitter_sync.php(8): Friendica\DI::__callStatic('app', Array)
Dec 30 01:03:30 manitu php[31074]: #1 /src/Core/Worker.php(402): twitter_sync_run(Array, 3)
Dec 30 01:03:30 manitu php[31074]: #2 /src/Core/Worker.php(346): Friendica\Core\Worker::execFunction(Array, 'twitter_sync_ru...', Array, false)
Dec 30 01:03:30 manitu php[31074]: #3 /src/Core/Worker.php(114): Friendica\Core\Worker::execute(Array)
Dec 30 01:03:30 manitu php[31074]: #4 /bin/worker.php(60): Friendica\Core\Worker::processQueue(true)
Dec 30 01:03:30 manitu php[31074]: #5 {main}
Dec 30 01:03:30 manitu php[31074]: thrown in /src/DI.php on line 86
Invalid.
I can't reproduce the bin/worker.php error, is is systematic or sporadic?
I updated my system. Then I can tell if these errors are reappearing.
Can you please look into this as well? https://github.com/friendica/friendica/issues/7998#issuecomment-569482051
I'm currently at the Congress, so my time is limited.
Of course, I was thinking you might have missed it.
Registration is broken; white page of death; error 500 on page ..../register.
2020.03-dev:
[31-Dec-2019 16:38:55 UTC] PHP Fatal error: Uncaught TypeError: Argument 1 passed to Dice\Dice::create() must be of the type string, null given, called in .../src/DI.php on line 86 and defined in .../vendor/level-2/dice/Dice.php:87
Stack trace:
#0 .../src/DI.php(86): Dice\Dice->create(NULL, Array)
#1 .../src/Module/Tos.php(37): Friendica\DI::__callStatic('baseurl', Array)
#2 .../src/Module/Register.php(107): Friendica\Module\Tos->__construct()
#3 [internal function]: Friendica\Module\Register::content(Array)
#4 .../src/App/Page.php(310): call_user_func(Array, Array)
#5 .../src/App/Page.php(364): Friendica\App\Page->initContent(Object(Friendica\App\Module), Object(Friendica\App\Mode))
#6 .../src/App.php(578): Friendica\App\Page->run(Object(Friendica\App), Object(Friendica\App\BaseURL), Object(Friendica\App\Mode), Object(Friendica\App\Module), Object(Friendica\Core\L10n\L10n), Object(Friendica\Core\Config in .../vendor/level-2/dice/Dice.php on line 87
Fixed by #8039
@nupplaphil Those reports are concerning, sometimes the DI object isn't correctly initialized?
Please also have a look at the two notices. They seem to be related (baseurl related errors).
Indeed, thanks.
2020.03-dev:
use statement for DI is missing.
[01-Jan-2020 11:09:19 UTC] PHP Fatal error: Uncaught Error: Class 'DI' not found in /var/www/html/libranet/mod/fbrowser.php:95
Stack trace:
#0 [internal function]: _map_files1(Array)
#1 /var/www/html/libranet/mod/fbrowser.php(100): array_map('_map_files1', Array)
#2 /var/www/html/libranet/src/LegacyModule.php(71): fbrowser_content(Object(Friendica\App))
#3 /var/www/html/libranet/src/LegacyModule.php(45): Friendica\LegacyModule::runModuleFunction('content', Array)
#4 [internal function]: Friendica\LegacyModule::content(Array)
#5 /var/www/html/libranet/src/App/Page.php(310): call_user_func(Array, Array)
#6 /var/www/html/libranet/src/App/Page.php(364): Friendica\App\Page->initContent(Object(Friendica\App\Module), Object(Friendica\App\Mode))
#7 /var/www/html/libranet/src/App.php(578): Friendica\App\Page->run(Object(Friendica\App), Object(Friendica\App\BaseURL), Object(Friendica\App\Mode), Object(Friendica\App\Module), Object(Friendica\Core\L10n\L10n), Object(Friendica\Core\Config\PreloadConfiguration), Object(Friendica\Core\Config\PreloadPConfiguration))
# in /var/www/html/libranet/mod/fbrowser.php on line 95
Fixed by #8041
My reported stuff with the log time stamp of 01:03:xx seems to had been a one time sitation.
Tumblr / 2020.03-dev:
PHP Fatal error: Uncaught TypeError: Argument 2 passed to OAuthRequest::from_consumer_and_token() must be an instance of OAuthToken, null given, called in .../addon/tumblr/library/tumblroauth.php on line 237 and defined in .../library/OAuth1.php:361
Stack trace:
#0 .../addon/tumblr/library/tumblroauth.php(237): OAuthRequest::from_consumer_and_token(Object(OAuthConsumer), NULL, 'GET', 'https://www.tum...', Array)
#1 .../addon/tumblr/library/tumblroauth.php(98): TumblrOAuth->oAuthRequest('https://www.tum...', 'GET', Array)
#2 .../addon/tumblr/tumblr.php(123): TumblrOAuth->getRequestToken('https://librane...')
#3 .../addon/tumblr/tumblr.php(58): tumblr_connect(Object(Friendica\App))
#4 .../src/LegacyModule.php(71): tumblr_content(Object(Friendica\App))
#5 .../src/LegacyModule.php(45): Friendica\LegacyModule::runModuleFunction('content', Array)
#6 [internal function]: Friendica\Le in .../library/OAuth1.php on line 361
There is also a related notice.
[08-Jan-2020 22:32:50 Europe/Berlin] PHP Fatal error: Uncaught Error: Class 'Friendica\Model\Model\Contact' not found in .../src/Model/Introduction.php:53
Stack trace:
#0 .../src/Module/FollowConfirm.php(30): Friendica\Model\Introduction->confirm(true, false)
#1 [internal function]: Friendica\Module\FollowConfirm::post(Array)
#2 .../src/App/Module.php(256): call_user_func(Array, Array)
#3 .../src/App.php(573): Friendica\App\Module->run(Object(Friendica\Core\L10n\L10n), Object(Friendica\App\BaseURL), Object(Friendica\Util\Logger\StreamLogger), Array, Array)
#4 .../index.php(27): Friendica\App->runFrontend(Object(Friendica\App\Module), Object(Friendica\App\Router), Object(Friendica\Core\Config\PreloadPConfiguration), Object(Friendica\App\Authentication), Object(Friendica\App\Page))
#5 {main}
thrown in .../src/Model/Introduction.php on line 53
Fixed by #8076
Also, this looks weird...
Friendica\Model\Model\Contact
Edit: Ah! You fixed it. :-)
2020.03-dev:
PHP Fatal error: Uncaught Error: Call to a member function get() on null in .../src/Model/Photo.php:184
Stack trace:
#0 .../src/Module/Photo.php(84): Friendica\Model\Photo::getImageForPhoto(Array)
#1 [internal function]: Friendica\Module\Photo::init(Array)
#2 .../src/App/Module.php(252): call_user_func(Array, Array)
#3 .../src/App.php(573): Friendica\App\Module->run(Object(Friendica\Core\L10n\L10n), Object(Friendica\App\BaseURL), Object(Friendica\Util\Logger\StreamLogger), Array, Array)
#4 .../index.php(27): Friendica\App->runFrontend(Object(Friendica\App\Module), Object(Friendica\App\Router), Object(Friendica\Core\Config\PreloadPConfiguration), Object(Friendica\App\Authentication), Object(Friendica\App\Page))
#5 {main}
thrown in .../src/Model/Photo.php on line 184
fixed by #8091
Paging @nupplaphil
The cache seems to not work at all this morning (images missing in all kinds of places). I hope Interestingly the only error I find in the PHP logs is about missing cache in the OpenStreetmap Addon
PHP Fatal error: Uncaught Error: Class 'Friendica\Core\Cache' not found in /addon/openstreetmap/openstreetmap.php:134
Stack trace:
#0 /addon/openstreetmap/openstreetmap.php(152): openstreetmap_get_coordinates(Object(Friendica\App), Array)
#1 /src/Core/Hook.php(202): openstreetmap_generate_named_map(Object(Friendica\App), Array)
#2 /src/Core/Hook.php(178): Friendica\Core\Hook::callSingle(Object(Friendica\App), 'generate_named_...', Array, Array)
#3 /src/Util/Map.php(23): Friendica\Core\Hook::callAll('generate_named_...', Array)
#4 /src/Content/Text/BBCode.php(1375): Friendica\Util\Map::byLocation('Lehrter Stra\xC3\x9Fe...', 7)
#5 [internal function]: Friendica\Content\Text\BBCode::Friendica\Content\Text\{closur
e}(Array)
#6 /src/Content/Text/BBCode.php(1377): preg_replace_callback('/\\[map\\](.*?)\\[...', Object(Closure), in /addon/openstreetmap/openstreetmap.php on line 134
Fixed with https://github.com/friendica/friendica-addons/pull/943
Fixed with friendica/friendica-addons#941 and #8088
I like your optimism. At the moment (PR not merged) the problem _is not fixed_ the page still shows __no__ images. But it is nice to know that this PR _will probably_ fix the problem.
This is the usual display we add to mark that a specific error has been taken care of. Of course it usually concerns hyper-specific PRs, not wide-ranging ones, which means the time to merge is usually shorter, and the label becomes valid sooner than later.
From my point of view, this should be added _after_ the fixing pull request was merged. As long it is not merged and could not be tested, this is a promise that the problem _should be fixed_...
It's perfectly valid, this is just an unusual situation where the PR set to fix the problem can't be merged shortly.
Please merge https://github.com/friendica/friendica-addons/pull/943 for an immediate fix.
Is all of this errors?
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /http/www/addon/securemail/vendor/singpolyma/openpgp-php/lib/openpgp_crypt_symmetric.php on line 190
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /http/www/addon/securemail/vendor/singpolyma/openpgp-php/lib/openpgp_crypt_symmetric.php on line 65
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /http/www/addon/securemail/vendor/singpolyma/openpgp-php/lib/openpgp.php on line 1055
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /http/www/addon/securemail/vendor/singpolyma/openpgp-php/lib/openpgp.php on line 1075
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /http/www/addon/securemail/vendor/singpolyma/openpgp-php/lib/openpgp.php on line 125
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /http/www/addon/securemail/vendor/singpolyma/openpgp-php/lib/openpgp.php on line 127
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /http/www/addon/securemail/vendor/singpolyma/openpgp-php/lib/openpgp.php on line 1308
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /http/www/addon/securemail/vendor/singpolyma/openpgp-php/lib/openpgp.php on line 131
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /http/www/addon/securemail/vendor/singpolyma/openpgp-php/lib/openpgp.php on line 136
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /http/www/addon/securemail/vendor/singpolyma/openpgp-php/lib/openpgp.php on line 138
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /http/www/addon/securemail/vendor/singpolyma/openpgp-php/lib/openpgp.php on line 612
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /http/www/addon/securemail/vendor/singpolyma/openpgp-php/lib/openpgp.php on line 628
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /http/www/addon/securemail/vendor/singpolyma/openpgp-php/lib/openpgp.php on line 694
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /http/www/addon/securemail/vendor/singpolyma/openpgp-php/lib/openpgp.php on line 771
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /http/www/addon/securemail/vendor/singpolyma/openpgp-php/lib/openpgp.php on line 978
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /http/www/addon/securemail/vendor/singpolyma/openpgp-php/lib/openpgp.php on line 979
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /http/www/addon/twitter/vendor/abraham/twitteroauth/src/SignatureMethod.php on line 61
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /http/www/library/ASNValue.class.php on line 113
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /http/www/library/ASNValue.class.php on line 125
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /http/www/vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 1074
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /http/www/vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 1469
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /http/www/vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 215
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /http/www/vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 217
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /http/www/vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 511
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /http/www/vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 518
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /http/www/vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 552
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /http/www/vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 567
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /http/www/vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 568
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /http/www/vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 667
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /http/www/vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 677
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /http/www/vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 686
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /http/www/vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 687
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /http/www/vendor/michelf/php-markdown/Michelf/Markdown.php on line 1361
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /http/www/vendor/michelf/php-markdown/Michelf/Markdown.php on line 1386
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /http/www/vendor/michelf/php-markdown/Michelf/Markdown.php on line 1799
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /http/www/vendor/michelf/php-markdown/Michelf/Markdown.php on line 1801
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /http/www/vendor/michelf/php-markdown/Michelf/Markdown.php on line 955
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /http/www/vendor/pear/text_languagedetect/Text/LanguageDetect.php on line 1473
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /http/www/vendor/pear/text_languagedetect/Text/LanguageDetect.php on line 1478
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /http/www/vendor/pear/text_languagedetect/Text/LanguageDetect.php on line 1479
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /http/www/vendor/pear/text_languagedetect/Text/LanguageDetect.php on line 1485
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /http/www/vendor/pear/text_languagedetect/Text/LanguageDetect.php on line 1486
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /http/www/vendor/pear/text_languagedetect/Text/LanguageDetect.php on line 1487
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /http/www/vendor/pear/text_languagedetect/Text/LanguageDetect.php on line 1494
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /http/www/vendor/pear/text_languagedetect/Text/LanguageDetect.php on line 1495
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /http/www/vendor/pear/text_languagedetect/Text/LanguageDetect.php on line 1496
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /http/www/vendor/pear/text_languagedetect/Text/LanguageDetect.php on line 1497
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /http/www/vendor/pear/text_languagedetect/Text/LanguageDetect.php on line 1517
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /http/www/vendor/pear/text_languagedetect/Text/LanguageDetect.php on line 1541
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /http/www/vendor/pear/text_languagedetect/Text/LanguageDetect.php on line 1583
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /http/www/vendor/pear/text_languagedetect/Text/LanguageDetect.php on line 1588
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /http/www/vendor/pear/text_languagedetect/Text/LanguageDetect.php on line 192
PHP Deprecated: Function ReflectionType::__toString() is deprecated in /http/www/vendor/level-2/dice/Dice.php on line 233
PHP Deprecated: implode(): Passing glue string after array is deprecated. Swap the parameters in /http/www/src/Content/Text/HTML.php on line 522
PHP Deprecated: implode(): Passing glue string after array is deprecated. Swap the parameters in /http/www/src/Content/Text/HTML.php on line 558
PHP Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /http/www/addon/buffer/lang/cs/strings.php on line 6
PHP Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /http/www/addon/buffer/lang/pl/strings.php on line 5
PHP Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /http/www/addon/buffer/lang/ru/strings.php on line 6
PHP Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /http/www/addon/fromapp/lang/cs/strings.php on line 6
PHP Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /http/www/addon/fromapp/lang/pl/strings.php on line 6
PHP Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /http/www/addon/fromapp/lang/ru/strings.php on line 5
PHP Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /http/www/addon/gnot/lang/cs/strings.php on line 6
PHP Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /http/www/addon/gnot/lang/pl/strings.php on line 5
PHP Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /http/www/addon/gnot/lang/ru/strings.php on line 6
PHP Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /http/www/addon/impressum/lang/cs/strings.php on line 6
PHP Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /http/www/addon/impressum/lang/pl/strings.php on line 5
PHP Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /http/www/addon/js_upload/lang/cs/strings.php on line 5
PHP Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /http/www/addon/js_upload/lang/pl/strings.php on line 5
PHP Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /http/www/addon/nsfw/lang/cs/strings.php on line 6
PHP Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /http/www/addon/nsfw/lang/pl/strings.php on line 5
PHP Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /http/www/addon/openstreetmap/lang/cs/strings.php on line 5
PHP Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /http/www/addon/openstreetmap/lang/pl/strings.php on line 6
PHP Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /http/www/addon/rendertime/lang/cs/strings.php on line 5
PHP Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /http/www/addon/rendertime/lang/pl/strings.php on line 5
PHP Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /http/www/addon/securemail/lang/cs/strings.php on line 6
PHP Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /http/www/addon/securemail/lang/pl/strings.php on line 6
PHP Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /http/www/addon/showmore/lang/cs/strings.php on line 6
PHP Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /http/www/addon/showmore/lang/pl/strings.php on line 6
PHP Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /http/www/addon/smileybutton/lang/cs/strings.php on line 5
PHP Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /http/www/addon/smileybutton/lang/pl/strings.php on line 6
PHP Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /http/www/addon/startpage/lang/cs/strings.php on line 6
PHP Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /http/www/addon/startpage/lang/pl/strings.php on line 5
PHP Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /http/www/addon/superblock/lang/cs/strings.php on line 6
PHP Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /http/www/addon/superblock/lang/pl/strings.php on line 6
PHP Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /http/www/addon/tumblr/lang/cs/strings.php on line 6
PHP Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /http/www/addon/tumblr/lang/pl/strings.php on line 5
PHP Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /http/www/addon/twitter/lang/cs/strings.php on line 6
PHP Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /http/www/addon/twitter/lang/pl/strings.php on line 6
PHP Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /http/www/addon/twitter/lang/ru/strings.php on line 5
PHP Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /http/www/addon/wppost/lang/cs/strings.php on line 6
PHP Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /http/www/addon/wppost/lang/pl/strings.php on line 6
PHP Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /http/www/view/lang/cs/strings.php on line 6
PHP Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /http/www/view/lang/pl/strings.php on line 6
PHP Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /http/www/view/lang/ru/strings.php on line 6
Was wondering why the PHP log produces 600 MB in a day.
I did do some "|sort|uniq" to have the double line removed, same as for the notices log. The log file was now 550MB in size since the rotation 22 hours ago.
If this is not errors then sorry about that, I was not sure, it doesn't say error, so maybe this is notices too?
Addressed partly with #8139
Not Fatal errors (until the version that removes the deprecated behavior), more like Notices.
Internal Server Error if i use the _Link to Original_ for my own post.
Interner Serverfehler
'display/adf174d5105ae1be618b9e8557457018' is not a fully qualified URL, please use App->internalRedirect() instead
#0 /mod/redir.php(153): Friendica\Core\System::externalRedirect('display/adf174d...')
#1 /mod/redir.php(26): redir_magic(Object(Friendica\App), 110, 'display/adf174d...')
#2 /src/LegacyModule.php(71): redir_init(Object(Friendica\App))
#3 /src/LegacyModule.php(40): Friendica\LegacyModule::runModuleFunction('init', Array)
#4 [internal function]: Friendica\LegacyModule::init(Array)
#5 /src/App/Module.php(252): call_user_func(Array, Array)
#6 /src/App.php(578): Friendica\App\Module->run(Object(Friendica\Core\L10n), Object(Friendica\App\BaseURL), Object(Friendica\Util\Logger\StreamLogger), Array, Array)
#7 /index.php(27): Friendica\App->runFrontend(Object(Friendica\App\Module), Object(Friendica\App\Router), Object(Friendica\Core\PConfig\PreloadPConfig), Object(Friendica\App\Authentication), Object(Friendica\App\Page))
#8 {main}
Post in the helper forum: https://friendica.xyz/redir/110?url=display/adf174d5-195e-2761-d0c1-0c3178678687
Fixed by #8154
2020.03-dev:
PHP Fatal error: Uncaught TypeError: Argument 1 passed to Friendica\Protocol\Diaspora::sendShare() must be of the type array, boolean given, called in .../src/Model/Introduction.php on line 100 and defined in .../src/Protocol/Diaspora.php:3314
Stack trace:
#0 .../src/Model/Introduction.php(100): Friendica\Protocol\Diaspora::sendShare(false, Array)
#1 .../src/Module/FollowConfirm.php(28): Friendica\Model\Introduction->confirm(true, false)
#2 [internal function]: Friendica\Module\FollowConfirm::post(Array)
#3 .../src/App/Module.php(256): call_user_func(Array, Array)
#4 .../src/App.php(578): Friendica\App\Module->run(Object(Friendica\Core\L10n), Object(Friendica\App\BaseURL), Object(Friendica\Util\Logger\StreamLogger), Array, Array)
#5 .../index.php(27): Friendica\App->runFrontend(Object(Friendica\App\Module), Object(Friendica\App\Router), Object(Friendica\Core\PConfig\PreloadPConfig), Object(Frien in .../src/Protocol/Diaspora.php on line 3314
Edit:
This one is not fixed yet. People are getting a white page of death when trying to accept a Diaspora follower.
URL: https://libranet.de/follow_confirm
See: https://libranet.de/display/0b6b25a8-145e-31de-033d-407142514283 (German)
Ping @nupplaphil Is this somehow related to the introduction notifications?
Fixed by #8198
2020.03-dev: I'm getting tons of this when I try to authenticate XMPP (Conversations, Gajim) against api_account_verify_credentials.json. Yesterday is worked flawlessly.
[27-Jan-2020 12:37:10 Europe/Berlin] PHP Fatal error: Uncaught TypeError: Argument 1 passed to Friendica\Protocol\Activity::match() must be of the type string, null given, called in .../include/conversation.php on line 142 and defined in .../src/Protocol/Activity.php:199
Stack trace:
#0 .../include/conversation.php(142): Friendica\Protocol\Activity->match(NULL, 'http://activity...')
#1 .../include/api.php(3018): localize_item(Array)
#2 .../include/api.php(949): api_format_item(Array, 'json')
#3 .../include/api.php(324): api_account_verify_credentials('json')
#4 .../mod/api.php(116): api_call(Object(Friendica\App))
#5 .../src/LegacyModule.php(71): api_content(Object(Friendica\App))
#6 .../src/LegacyModule.php(45): Friendica\LegacyModule::runModuleFunction('content', Array)
#7 [internal function]: Friendica\LegacyModule::content(Array)
#8 .../src/App/Page.php(310): call_user_fu in .../src/Protocol/Activity.php on line 199
This one is for @annando , when retrieving the item in api_get_item() , the verb field is included and the corresponding item array key should never be NULL which eventually trigger this error.
After pulling PR #8183
Uncaught Error: Cannot use object of type PDOStatement as array in .../src/Module/NoScrape.php:75
Stack trace:
#0 [internal function]: Friendica\Module\NoScrape::rawContent(Array)
#1 .../src/App/Module.php(264): call_user_func(Array, Array)
#2 .../src/App.php(578): Friendica\App\Module->run(Object(Friendica\Core\L10n), Object(Friendica\App\BaseURL), Object(Friendica\Util\Logger\StreamLogger), Array, Array)
#3 .../index.php(27): Friendica\App->runFrontend(Object(Friendica\App\Module), Object(Friendica\App\Router), Object(Friendica\Core\PConfig\PreloadPConfig), Object(Friendica\App\Authentication), Object(Friendica\App\Page))
#4 {main}
thrown in .../src/Module/NoScrape.php on line 75
fixed by #8183
On it.
2020.03-dev:
Uncaught Error: Call to undefined method Friendica\Object\Email::encodeHeader() in .../src/Object/EMail/ItemCCEMail.php:24
Stack trace:
#0 /var/www/html/libranet/mod/item.php(802): Friendica\Object\EMail\ItemCCEMail->__construct(Object(Friendica\App), Object(Friendica\Core\L10n), Object(Friendica\App\BaseURL), Array, '[email protected]...', 'https://librane...')
#1 .../src/LegacyModule.php(71): item_post(Object(Friendica\App))
#2 .../src/LegacyModule.php(50): Friendica\LegacyModule::runModuleFunction('post', Array)
#3 [internal function]: Friendica\LegacyModule::post(Array)
#4 .../src/App/Module.php(256): call_user_func(Array, Array)
#5 .../src/App.php(578): Friendica\App\Module->run(Object(Friendica\Core\L10n), Object(Friendica\App\BaseURL), Object(Friendica\Util\Logger\StreamLogger), Array, Array)
#6 .../index.php(27): Friendica\App->runFrontend(Object(Friendica\App\Module), Object(Friendica\App\R in .../src/Object/EMail/ItemCCEMail.php on line 24
Fixed with #8214
2020.03-dev:
Page not found (themed error page), when I go to contact details -> advanced. URL is like https://friendica.server/crepair/123456.
Reported here https://forum.friendi.ca/display/d368d644-505e-36b6-a2ae-67a010188403
#0 [internal function]: Friendica\Module\HTTPException\PageNotFound::content(Array)
#1 ...src/App/Page.php(313): call_user_func(Array, Array)
#2 .../src/App/Page.php(369): Friendica\App\Page->initContent(Object(Friendica\App\Module), Object(Friendica\App\Mode))
#3 ...src/App.php(583): Friendica\App\Page->run(Object(Friendica\App), Object(Friendica\App\BaseURL), Object(Friendica\App\Mode), Object(Friendica\App\Module), Object(Friendica\Core\L10n), Object(Friendica\Core\Config\PreloadConfig), Object(Friendica\Core\PConfig\PreloadPConfig))
#4 .../index.php(27): Friendica\App->runFrontend(Object(Friendica\App\Module), Object(Friendica\App\Router), Object(Friendica\Core\PConfig\PreloadPConfig), Object(Friendica\App\Authentication), Object(Friendica\App\Page))
#5 {main}
Probably caused by #8211 Ping @nupplaphil :-)
Fixed with #8221
Ah.. I always used the deep/direct link for testing.
I'm on it
Take your time. It's Sunday. :-)
2020.03-rc ;-)
PHP Fatal error: Uncaught TypeError: Argument 1 passed to Friendica\Util\Network::curl() must be of the type string, null given, called in .../src/Protocol/ActivityPub.php on line 96 and defined in .../src/Util/Network.php:109
Stack trace:
#0 .../src/Protocol/ActivityPub.php(96): Friendica\Util\Network::curl(NULL, false, Array)
#1 .../src/Protocol/ActivityPub/Processor.php(645): Friendica\Protocol\ActivityPub::fetchContent(NULL, 0)
#2 .../src/Model/Item.php(3809): Friendica\Protocol\ActivityPub\Processor::fetchMissingActivity(NULL)
#3 .../src/Model/Item.php(3873): Friendica\Model\Item::fetchByLink(NULL, 0)
#4 .../src/Protocol/DFRN.php(2547): Friendica\Model\Item::addShareDataFromOriginal(Array)
#5 .../src/Protocol/DFRN.php(2844): Friendica\Protocol\DFRN::processEntry(Array, Object(DOMXPath), Object(DOMElement), Array, '<?xml version="...')
#6 .../mod/dfrn_no in .../src/Util/Network.php on line 109
This one seems to kill my worker entirely, queue is piling up and posts are not delivered.
PHP Fatal error: Uncaught TypeError: Argument 1 passed to Friendica\Util\Network::isUrlBlocked() must be of the type string, null given, called in /src/Protocol/ActivityPub/Transmitter.php on line 652 and defined in /src/Util/Network.php:492
Stack trace:
#0 /src/Protocol/ActivityPub/Transmitter.php(652): Friendica\Util\Network::isUrlBlocked(NULL)
#1 /src/Worker/Notifier.php(746): Friendica\Protocol\ActivityPub\Transmitter::fetchTargetInboxes(Array, 2)
#2 /src/Worker/Notifier.php(178): Friendica\Worker\Notifier::activityPubDelivery('wall-new', Array, Array, Array, 20, '2020-03-07 06:2...', Array)
#3 [internal function]: Friendica\Worker\Notifier::execute('wall-new', 1907807)
#4 /src/Core/Worker.php(407): call_user_func_array('Friendica\\Worke...', Array)
#5 /src/Core/Worker.php(306): Friendica\Core\Worker::execFunction(A in /var/www/social.diekershoff.de/src/Util/Network.php on line 492
Fixed by #8368
@tobiasd I guess this is fixed with PR https://github.com/friendica/friendica/pull/8368
lets see :)
````
PHP Fatal error: Uncaught TypeError: Argument 1 passed to Friendica\Model\Photo::ridFromURI() must be of the type string, null given, called in /var/www/../src/Model/Contact.php on line 1927 and defined in /var/www/../src/Model/Photo.php:612
Stack trace:
````
On console when I just started the daemon.
PHP Fatal error: Uncaught TypeError: Argument 2 passed to Friendica\Util\Security::getPermissionsSQLByUserId() must be of the type bool, null given, called in /var/www/html/libranet/src/Model/Photo.php on line 155 and defined in /var/www/html/libranet/src/Util/Security.php:97
Stack trace:
#0 /var/www/html/libranet/src/Model/Photo.php(155): Friendica\Util\Security::getPermissionsSQLByUserId(2121, NULL)
#1 /var/www/html/libranet/src/Module/Photo.php(85): Friendica\Model\Photo::getPhoto('20870661245daee...', 6)
#2 [internal function]: Friendica\Module\Photo::init(Array)
#3 /var/www/html/libranet/src/App/Module.php(271): call_user_func(Array, Array)
#4 /var/www/html/libranet/src/App.php(571): Friendica\App\Module->run(Object(Friendica\Core\L10n), Object(Friendica\App\BaseURL), Object(Friendica\Util\Logger\StreamLogger), Array, Array)
#5 /var/www/html/libranet/index.php(42): Friendica\App->runFrontend(Object(Friendica\App\Module), Object(Friendica\App\Router), Object(Friendica\Core\PConfig\PreloadPConfig), Object(Friendica\App\Aut in /var/www/html/libranet/src/Util/Security.php on line 97
Going back to commit 70f35565e stopped the fatal errors.
Fixed by #8390
Closed by #8473
Most helpful comment
My reported stuff with the log time stamp of
01:03:xxseems to had been a one time sitation.