Closed approached closed 9 years ago
Method:
/**
* Adds a set of rows from a serialized DataTable string.
*
* See {@link serialize()}.
*
* _Note: This function will successfully load DataTables serialized by Piwik 1.X._
*
* @param string $stringSerialized A string with the format of a string in the array returned by
* {@link serialize()}.
* @throws Exception if `$stringSerialized` is invalid.
*/
public function addRowsFromSerializedArray($stringSerialized)
{
require_once PIWIK_INCLUDE_PATH . "/core/DataTable/Bridges.php";
1251: $serialized = unserialize($stringSerialized);
if ($serialized === false) {
throw new Exception("The unserialization has failed!");
}
$this->addRowsFromArray($serialized);
}
INFO CoreConsole[2015-04-01 15:01:38] Error: Got invalid response from API request: http://stats.pregnant.com/index.php?module=API&method=API.get&idSite=1&period=month&date=last3&format=php&token_auth=removed&trigger=archivephp. Response was 'PHP Fatal error: Allowed memory size of 805306368 bytes exhausted (tried to allocate 8208 bytes) in /opt/stats.pregnant.com/core/DataTable.php on line 1251 '
INFO CoreConsole[2015-04-01 15:01:38] Error: Got invalid response from API request: http://stats.pregnant.com/index.php?module=API&method=API.get&idSite=1&period=year&date=last3&format=php&token_auth=removed&trigger=archivephp. Response was 'PHP Fatal error: Allowed memory size of 805306368 bytes exhausted (tried to allocate 130 bytes) in /opt/stats.pregnant.com/core/DataTable.php on line 1251 '
ERROR CoreConsole[2015-04-01 15:01:38] 2 total errors during this script execution, please investigate and try and fix these errors.
DEBUG SitesManager[2015-04-01 15:01:38] Db::fetchAll() executing SQL: SELECT idsite FROM piwik_site
ERROR CoreConsole[2015-04-01 15:01:38] 2 total errors during this script execution, please investigate and try and fix these errors.
[Exception]
2 total errors during this script execution, please investigate and try and fix these errors.
Exception trace:
() at /opt/stats.pregnant.com/core/CronArchive.php:418
Piwik\CronArchive->logFatalError() at /opt/stats.pregnant.com/plugins/CoreConsole/Commands/CoreArchiver.php:43
Piwik\Plugins\CoreConsole\Commands\CoreArchiver->execute() at /opt/stats.pregnant.com/vendor/symfony/console/Symfony/Component/Console/Command/Command.php:253
Symfony\Component\Console\Command\Command->run() at /opt/stats.pregnant.com/vendor/symfony/console/Symfony/Component/Console/Application.php:874
Symfony\Component\Console\Application->doRunCommand() at /opt/stats.pregnant.com/vendor/symfony/console/Symfony/Component/Console/Application.php:195
Symfony\Component\Console\Application->doRun() at n/a:n/a
call_user_func() at /opt/stats.pregnant.com/core/Console.php:61
Piwik\Console->Piwik\{closure}() at /opt/stats.pregnant.com/core/Access.php:454
Piwik\Access::doAsSuperUser() at /opt/stats.pregnant.com/core/Console.php:62
Piwik\Console->doRun() at /opt/stats.pregnant.com/vendor/symfony/console/Symfony/Component/Console/Application.php:126
Symfony\Component\Console\Application->run() at /opt/stats.pregnant.com/console:27
Hi there,
Hi@all
What is now wrong with archive process.
Log: