We apologize for the instability of composr.app and appreciate your patience. We are working on the statistics addon and trying to find an optimal way to store and render data. Unfortunately, we have yet to find a solution that can handle the traffic (and therefore, tens of millions of statistical records) of composr.app. We're working hard on one.
I think I found a fix for this. But I'm not sure if this is a fix or a temporary workaround. In the find_available_addons() function in sources\addons2.php, I added an 'else' clause on the $info['copyright_attribution] check. I added to this block of code:
if (!empty($info['copyright_attribution'])) {
$info['copyright_attribution'] = explode("\n", $info['copyright_attribution']);
}
so it looks like this:
if (!empty($info['copyright_attribution'])) {
$info['copyright_attribution'] = explode("\n", $info['copyright_attribution']);
} else {
$info['copyright_attribution'] = array ();
}
I just ran into a similar stack trace when re-installing a previously installed addon and used the same fix in the inform_about_addon_install() function in sources\addons2.php.
I created a pull request for it, and a small cosmetic fix for the side_printer_friendly block.
if (!empty($info['copyright_attribution'])) {
$info['copyright_attribution'] = explode("\n", $info['copyright_attribution']);
}
so it looks like this:
if (!empty($info['copyright_attribution'])) {
$info['copyright_attribution'] = explode("\n", $info['copyright_attribution']);
} else {
$info['copyright_attribution'] = array ();
}
I just ran into a similar stack trace when re-installing a previously installed addon and used the same fix in the inform_about_addon_install() function in sources\addons2.php.
I created a pull request for it, and a small cosmetic fix for the side_printer_friendly block.