Hello
!Friendica SupportAnd again after an update, a call to my instance resulted in an
Internal Server Error 500 and I could no longer use the site.
After a long search and trial and error I found a hint in the Friendica Log. Apparently the addons "
Pageheader" and "Show More Dynmaic" cause this error. After deactivating these addons the page is usable again.
The log entry corresponding to the
"Pageheader" Addon
TypeError: pageheader_fetch(): Argument #2 ($b) must be of type array, string given, called in /var/www/virtual/paddler/html/src/Core/Hook.php on line 223 and defined in /var/www/virtual/paddler/html/addon/pageheader/pageheader.php:55
Stack trace:
#0 /src/Core/Hook.php(223): pageheader_fetch(Object(Friendica\App), '')
#1 /src/Core/Hook.php(198): Friendica\Core\Hook::callSingle(Object(Friendica\App), 'page_content_to...', Array, '')
#2 /src/App/Page.php(375): Friendica\Core\Hook::callAll('page_content_to...', '')
#3 /src/App/Page.php(457): Friendica\App\Page->initContent(Object(GuzzleHttp\Psr7\Response), Object(Friendica\App\Mode))
#4 /src/App.php(725): Friendica\App\Page->run(Object(Friendica\App), Object(Friendica\App\BaseURL), Object(Friendica\App\Arguments), Object(Friendica\App\Mode), Object(GuzzleHttp\Psr7\Response), Object(Friendica\Core\L10n), Object(Friendica\Util\Profiler), Object(Friendica\Core\Config\Type\JitConfig), Object(Friendica\Core\PConfig\Type\JitPConfig))
#5 /index.php(50): Friendica\App->runFrontend(Object(Friendica\App\Router), Object(Friendica\Core\PConfig\Type\JitPConfig), Object(Friendica\Security\Authentication), Object(Friendica\App\Page), Object(Friendica\Util\HTTPInputData), 1656280150.2672)
#6 {main}
The log entry corresponding to the
"Showmore Dynamic" Addon
TypeError: showmore_dyn_head(): Argument #2 ($b) must be of type array, string given, called in /src/Core/Hook.php on line 223 and defined in /addon/showmore_dyn/showmore_dyn.php:27
Stack trace:
#0 /src/Core/Hook.php(223): showmore_dyn_head(Object(Friendica\App), '')
#1 /src/Core/Hook.php(198): Friendica\Core\Hook::callSingle(Object(Friendica\App), 'head', Array, '')
#2 /src/App/Page.php(266): Friendica\Core\Hook::callAll('head', '')
#3 /src/App/Page.php(478): Friendica\App\Page->initHead(Object(Friendica\App), Object(Friendica\App\Arguments), Object(Friendica\Core\L10n), Object(Friendica\Core\Config\Type\JitConfig), Object(Friendica\Core\PConfig\Type\JitPConfig))
#4 /var/www/virtual/paddler/html/src/App.php(725): Friendica\App\Page->run(Object(Friendica\App), Object(Friendica\App\BaseURL), Object(Friendica\App\Arguments), Object(Friendica\App\Mode), Object(GuzzleHttp\Psr7\Response), Object(Friendica\Core\L10n), Object(Friendica\Util\Profiler), Object(Friendica\Core\Config\Type\JitConfig), Object(Friendica\Core\PConfig\Type\JitPConfig))
#5 /index.php(50): Friendica\App->runFrontend(Object(Friendica\App\Router), Object(Friendica\Core\PConfig\Type\JitPConfig), Object(Friendica\Security\Authentication), Object(Friendica\App\Page), Object(Friendica\Util\HTTPInputData), 1656280020.5269)
#6 {main}
Friendica 'Giant Rhubarb' 2022.09-dev - 1473PHP 8.0#
friendica #
Addons #
bug