Jump to content

Edit History

M.N

M.N

Products do not use attachments. Looked on database, all related to attachments is value 0.

For different token generation changed all related values in configuration.php It clearly worked, as had to login and set some new passwords, but it did not resolve the problem.

M.N

M.N

Thanks for posters. Got debug result:

CRITICAL
10:47:44
php    Call to undefined method Product::updateCacheAttachment()
Hide context    Hide trace
[▼
  "exception" => FatalThrowableError {▶}
]
{▼
  /home/xxxxxxxxxxx/classes/Attachment.php:225 {▼
    › 
    › Product::updateCacheAttachment((int) $idProduct);
    › 
  }
  /home/xxxxxxxxxxx/classes/Attachment.php:271 {▶}
  /home/xxxxxxxxxxx/src/Adapter/Product/AdminProductWrapper.php:858 {▶}
  /home/xxxxxxxxxxx/src/PrestaShopBundle/Controller/Admin/ProductController.php:574 {▶}
  /home/xxxxxxxxxxx/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:151 {▶}
  /home/xxxxxxxxxxx/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:68 {▶}
  /home/xxxxxxxxxxx/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:200 {▶}
  /home/xxxxxxxxxxx/admin/index.php:82 {▶}
}
CRITICAL
10:47:44
request    Uncaught PHP Exception Symfony\Component\Debug\Exception\UndefinedMethodException: "Attempted to call an undefined method named "updateCacheAttachment" of class "Product"." at /home/xxxxxxxxxxx/classes/Attachment.php line 225
Hide context    Hide trace
[▼
  "exception" => UndefinedMethodException {▶}
]
{▼
  /home/xxxxxxxxxxx/classes/Attachment.php:225 {▼
    › 
    › Product::updateCacheAttachment((int) $idProduct);
    › 
  }
  /home/xxxxxxxxxxx/classes/Attachment.php:271 {▶}
  /home/xxxxxxxxxxx/src/Adapter/Product/AdminProductWrapper.php:858 {▶}
  /home/xxxxxxxxxxx/src/PrestaShopBundle/Controller/Admin/ProductController.php:574 {▶}
  /home/xxxxxxxxxxx/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:151 {▶}
  /home/xxxxxxxxxxx/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:68 {▶}
  /home/xxxxxxxxxxx/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:200 {▶}
  /home/xxxxxxxxxxx/admin/index.php:82 {▶}
}
]

What to look for next?

×
×
  • Create New...