Class "Aimeos\MW\Common\Exception" not found

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
kdim95
Advanced
Posts: 206
Joined: 26 Aug 2022, 12:17

Class "Aimeos\MW\Common\Exception" not found

Post by kdim95 » 12 Jun 2023, 19:56

Laravel framework version: 10.12.0
Aimeos Laravel version: ~2023.04
PHP Version: 8.2.6
Environment: Linux

Hello,

Here is a list of classes in ai-elastic where you still use Aimeos\MW\Common\Exception in 2023.04.
I believe you have you moved on to use only Aimeos\MW\Exception.
  • vendor/aimeoscom/ai-elastic/src/Base/Criteria/Expression/Combine/Elastic.php
  • vendor/aimeoscom/ai-elastic/src/Base/Criteria/Expression/Elastic.php
  • vendor/aimeoscom/ai-elastic/src/Base/Criteria/Expression/Sort/Elastic.php
  • vendor/aimeoscom/ai-elastic/src/Base/Criteria/Elastic.php
I noticed it when I got a search error and it was not throwing the expected exception.

nos3
Posts: 89
Joined: 01 Sep 2015, 13:26

Re: Class "Aimeos\MW\Common\Exception" not found

Post by nos3 » 13 Jun 2023, 07:57

Thanks a lot for your post!
The wrong exceptions has been fixed and tests has been added. A new release is also tagged.

Post Reply