Component 'item' is evaluating an invalid expression '$this->getItemDetailHTML()' : TDbCommand failed to execute the SQL statement "UPDATE `figure` SET `link` = :link, `link_type` = :link_type, `slug` = :slug, `jan` = :jan, `category` = :category, `classification` = :classification, `origin` = :origin, `name` = :name, `title` = :title, `version` = :version, `company` = :company, `artist` = :artist, `scale` = :scale, `height` = :height, `material` = :material, `price` = :price, `release_date_text` = :release_date_text, `release_date` = :release_date, `release_history` = :release_history, `release_total_times` = :release_total_times, `info` = :info, `is_prize` = :is_prize, `is_castoff` = :is_castoff, `is_18` = :is_18, `is_nsfw` = :is_nsfw, `have_photo_safe` = :have_photo_safe, `have_photo_360` = :have_photo_360, `no_photo_percent` = :no_photo_percent, `rf_rate_value` = :rf_rate_value, `rf_rate_count` = :rf_rate_count, `rf_wished` = :rf_wished, `rf_ordered` = :rf_ordered, `rf_owned` = :rf_owned, `world_rate_value` = :world_rate_value, `world_rate_count` = :world_rate_count, `world_wished` = :world_wished, `world_ordered` = :world_ordered, `world_owned` = :world_owned, `world_listed` = :world_listed, `top_owned` = :top_owned, `top_ordered` = :top_ordered, `top_wished` = :top_wished, `top_rated` = :top_rated, `top_score` = :top_score, `top_score_detail` = :top_score_detail, `buy_price` = :buy_price, `sell_price` = :sell_price, `sell_status_item` = :sell_status_item, `sell_status_box` = :sell_status_box, `sell_desc` = :sell_desc, `can_curl` = :can_curl, `curl_error` = :curl_error, `date_created` = :date_created, `created_by` = :created_by, `date_last_curl` = :date_last_curl, `last_curl_by` = :last_curl_by, `date_last_requested` = :date_last_requested, `total_view` = :total_view, `date_last_viewed` = :date_last_viewed, `has_duplicate` = :has_duplicate, `is_duplicate` = :is_duplicate, `is_cancel` = :is_cancel, `is_deleted` = :is_deleted WHERE `id` = :id": SQLSTATE[22007]: Invalid datetime format: 1292 Incorrect date value: '0000-00-00' for column 'release_date' at row 1. (Error Code: 0)
${PradoFramework}/TComponent.php (1571)
1560: *
1561: * @param string $expression PHP expression
1562: * @throws TInvalidOperationException if the expression is invalid
1563: * @return mixed the expression result
1564: */
1565: public function evaluateExpression($expression)
1566: {
1567: $this->callBehaviorsMethod('dyEvaluateExpressionFilter', $expression, $expression);
1568: try {
1569: return eval("return $expression;");
1570: } catch (\Throwable $e) {
1571: throw new TInvalidOperationException('component_expression_invalid', $this::class, $expression, $e->getMessage());
1572: }
1573: }
1574:
1575: /**
1576: * Evaluates a list of PHP statements.
1577: *
1578: * Behaviors may implement the function:
1579: * ```php
1580: * public function dyEvaluateStatementsFilter($statements, TCallChain $chain) {
1581: * return $chain->dyEvaluateStatementsFilter(str_replace('foo', 'bar', $statements)); //example
1582: * }
1583: * ```
#0 ${PradoFramework}/Web/UI/TCompositeLiteral.php(82): Prado\TComponent->evaluateExpression()
#1 ${PradoFramework}/Web/UI/TControl.php(1410): Prado\Web\UI\TCompositeLiteral->evaluateDynamicContent()
#2 ${PradoFramework}/Web/UI/TControl.php(1408): Prado\Web\UI\TControl->preRenderRecursive()
#3 ${PradoFramework}/Web/UI/TControl.php(1408): Prado\Web\UI\TControl->preRenderRecursive()
#4 ${PradoFramework}/Web/UI/TPage.php(247): Prado\Web\UI\TControl->preRenderRecursive()
#5 ${PradoFramework}/Web/UI/TPage.php(222): Prado\Web\UI\TPage->processNormalRequest()
#6 ${PradoFramework}/Web/Services/TPageService.php(536): Prado\Web\UI\TPage->run()
#7 ${PradoFramework}/Web/Services/TPageService.php(454): Prado\Web\Services\TPageService->runPage()
#8 ${PradoFramework}/TApplication.php(1329): Prado\Web\Services\TPageService->run()
#9 ${PradoFramework}/TApplication.php(410): Prado\TApplication->runService()
#10 ${DocumentRoot}/index.php(33): Prado\TApplication->run()
#11 {main}