shananan Posted December 9, 2024 Share Posted December 9, 2024 Hello! Since yesterday I haven't been able to delete a product or create combinations for it and today it completelyy broke my site. I'm not a tech person, so pls help! What do I do now?? From Log: "User Deprecated: Creating Doctrine\ORM\Mapping\UnderscoreNamingStrategy without making it number aware is deprecated and will be removed in Doctrine ORM 3.0. INFO15:25:29phpUser Deprecated: The "sensio_framework_extra.routing.loader.annot_class" service is deprecated since version 5.2 INFO15:25:29phpUser Deprecated: The "Sensio\Bundle\FrameworkExtraBundle\Routing\AnnotatedRouteControllerLoader" class is deprecated since version 5.2. Use "Symfony\Bundle\FrameworkBundle\Routing\AnnotatedRouteControllerLoader" instead. INFO15:25:29phpUser Deprecated: The "sensio_framework_extra.routing.loader.annot_dir" service is deprecated since version 5.2 INFO15:25:29phpUser Deprecated: The "sensio_framework_extra.routing.loader.annot_file" service is deprecated since version 5.2 INFO15:25:29requestMatched route "admin_product_unit_action". DEBUG15:25:29securityRead existing security token from the session. DEBUG15:25:30securityUser was reloaded from a user provider. INFO15:25:30phpUser Deprecated: Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0 INFO15:25:30phpUser Deprecated: Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0 INFO15:25:30phpUser Deprecated: Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0 INFO15:25:30phpUser Deprecated: Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0 INFO15:25:30phpUser Deprecated: Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0 INFO15:25:30phpUser Deprecated: Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0 INFO15:25:30phpUser Deprecated: Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0 INFO15:25:30phpUser Deprecated: The "logger" service is private, getting it from the container is deprecated since Symfony 3.2 and will fail in 4.0. You should either make the service public, or stop using the container directly and use dependency injection instead. INFO15:25:30phpUser Deprecated: Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0 INFO15:25:30phpUser Deprecated: Implementing "Symfony\Component\HttpKernel\DataCollector\DataCollectorInterface" without the "reset()" method is deprecated since Symfony 3.4 and will be unsupported in 4.0 for class "Csa\Bundle\GuzzleBundle\DataCollector\GuzzleCollector". CRITICAL15:25:30phpUncaught Exception: AdminProductDataUpdater->deleteProduct() received an unknown ID. CRITICAL15:25:30requestUncaught PHP Exception Exception: "AdminProductDataUpdater->deleteProduct() received an unknown ID." at /home/tobuyosh/public_html/src/Adapter/Product/AdminProductDataUpdater.php line 152" Link to comment Share on other sites More sharing options...
Prestashop Addict Posted December 9, 2024 Share Posted December 9, 2024 Vous devez avoir un module ou un override qui essaye de supprimer le produit une fois qu'il a été supprimé. Regardez dans les hooks les modules greffés. Link to comment Share on other sites More sharing options...
shananan Posted December 12, 2024 Author Share Posted December 12, 2024 On 12/9/2024 at 3:52 PM, Prestashop Addict said: Vous devez avoir un module ou un override qui essaye de supprimer le produit une fois qu'il a été supprimé. Regardez dans les hooks les modules greffés. Can you show me where? I honestly don't really understand much about it, so it's hard for me to find Link to comment Share on other sites More sharing options...
shananan Posted December 12, 2024 Author Share Posted December 12, 2024 Presta ver:1.7.8.11 php ver: 7.4 cPanel Version120.0 (build 9) Apache Version2.4.61 Database Version10.6.18-MariaDB-cll-lve-log Link to comment Share on other sites More sharing options...
ST-THEMES Posted December 19, 2024 Share Posted December 19, 2024 Hi, Try to disable the suspicious modules one by one, and check whether the problem still persits or not, and go to BO > Advanced parameters > Performance, enable the "Disable all overrides" option. Best regards. Link to comment Share on other sites More sharing options...
shananan Posted March 13 Author Share Posted March 13 On 12/19/2024 at 11:08 AM, ST-THEMES said: Hi, Try to disable the suspicious modules one by one, and check whether the problem still persits or not, and go to BO > Advanced parameters > Performance, enable the "Disable all overrides" option. Best regards. Doesn't work, unfortunately Link to comment Share on other sites More sharing options...
Prestashop Addict Posted March 14 Share Posted March 14 Search in content files in override folder and sub folders for "->delete(" string. Link to comment Share on other sites More sharing options...
musicmaster Posted March 14 Share Posted March 14 (edited) It looks like there is some incomplete product in the database that is present in some tables but not in others. If you use Prestools (it is free) you can use the Integrity Checks and delete or fix the product. Edited March 14 by musicmaster (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now