Pdo storage fix
Stack trace for related error
| [Wed Jun 23 22:37:34.551794 2021] [php7:error] [pid 396] [client ....] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function PdoProductStorage::parseJsonProduct(), 1 passed in /var/www/apps/earthquake-event-ws/lib/classes/pdl/PdoProductStorage.class.php on line 68 and exactly 2 expected in /var/www/apps/earthquake-event-ws/lib/classes/pdl/PdoProductStorage.class.php:111\nStack trace:\n#0 /var/www/apps/earthquake-event-ws/lib/classes/pdl/PdoProductStorage.class.php(68): PdoProductStorage->parseJsonProduct(Array)\n#1 /var/www/apps/earthquake-event-ws/lib/classes/detail/quakeml.inc.php(42): PdoProductStorage->getProduct(Object(ProductId))\n#2 /var/www/apps/earthquake-event-ws/lib/classes/fdsn/FDSNEventWebService.class.php(175): include('/var/www/apps/e...')\n#3 /var/www/apps/earthquake-event-ws/lib/classes/fdsn/FDSNEventWebService.class.php(58): FDSNEventWebService->handleDetailQuery(Object(FDSNQuery))\n#4 /var/www/apps/earthquake-event-ws/htdocs/fdsn.php(22): FDSNEventWebService->query()\n#5 {main}\n thrown in /var/www/apps/earthquake-event-ws/lib/classes/pdl/PdoProductStorage.class.php on line 111 |