Called unknown macro "clea" on class "Aimeos\MShop\Customer\Item\Standard"

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!
nowrap
Posts: 37
Joined: 01 Mar 2023, 23:03

Called unknown macro "clea" on class "Aimeos\MShop\Customer\Item\Standard"

Post by nowrap » 16 Mar 2023, 20:14

Hello,

i found the following message a couple of times in the log:

Code: Select all

Called unknown macro "clea" on class "Aimeos\MShop\Customer\Item\Standard"
A quick source code search found "clea" only in a faker test.

// edit
Happens on saving a user in the admin area for example

Any ideas?

Regards
.nowrap

User avatar
aimeos
Administrator
Posts: 7858
Joined: 01 Jan 1970, 00:00

Re: Called unknown macro "clea" on class "Aimeos\MShop\Customer\Item\Standard"

Post by aimeos » 17 Mar 2023, 15:03

Can you please paste the full stack trace?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

nowrap
Posts: 37
Joined: 01 Mar 2023, 23:03

Re: Called unknown macro "clea" on class "Aimeos\MShop\Customer\Item\Standard"

Post by nowrap » 17 Mar 2023, 15:05

Sure, here it is:

Code: Select all

Called unknown macro "clea" on class "Aimeos\MShop\Customer\Item\Standard"
#0 /var/www/ak-booking/aimeos-dev/vendor/aimeos/ai-laravel/src/MShop/Customer/Manager/Laravel.php(451): Aimeos\MShop\Common\Item\Base->__call()
#1 /var/www/ak-booking/aimeos-dev/vendor/aimeos/aimeos-core/src/MShop/Common/Manager/Base.php(154): Aimeos\MShop\Customer\Manager\Laravel->saveItem()
#2 /var/www/ak-booking/aimeos-dev/vendor/aimeos/aimeos-core/src/MShop/Common/Manager/Decorator/Base.php(224): Aimeos\MShop\Common\Manager\Base->save()
#3 /var/www/ak-booking/aimeos-dev/vendor/aimeos/aimeos-core/src/MShop/Common/Manager/Decorator/Base.php(224): Aimeos\MShop\Common\Manager\Decorator\Base->save()
#4 /var/www/ak-booking/aimeos-dev/vendor/aimeos/ai-admin-jqadm/src/Admin/JQAdm/Customer/Standard.php(299): Aimeos\MShop\Common\Manager\Decorator\Base->save()
#5 /var/www/ak-booking/aimeos-dev/vendor/aimeos/ai-admin-jqadm/src/Admin/JQAdm/Common/Decorator/Base.php(151): Aimeos\Admin\JQAdm\Customer\Standard->save()
#6 /var/www/ak-booking/aimeos-dev/vendor/aimeos/aimeos-laravel/src/Aimeos/Shop/Controller/JqadmController.php(214): Aimeos\Admin\JQAdm\Common\Decorator\Base->save()
#7 /var/www/ak-booking/aimeos-dev/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): Aimeos\Shop\Controller\JqadmController->saveAction()
#8 /var/www/ak-booking/aimeos-dev/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(43): Illuminate\Routing\Controller->callAction()
#9 /var/www/ak-booking/aimeos-dev/vendor/laravel/framework/src/Illuminate/Routing/Route.php(260): Illuminate\Routing\ControllerDispatcher->dispatch()
#10 /var/www/ak-booking/aimeos-dev/vendor/laravel/framework/src/Illuminate/Routing/Route.php(205): Illuminate\Routing\Route->runController()
#11 /var/www/ak-booking/aimeos-dev/vendor/laravel/framework/src/Illuminate/Routing/Router.php(798): Illuminate\Routing\Route->run()
#12 /var/www/ak-booking/aimeos-dev/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\Routing\Router->Illuminate\Routing\closure()
#13 /var/www/ak-booking/aimeos-dev/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\closure()
#14 /var/www/ak-booking/aimeos-dev/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Routing\Middleware\SubstituteBindings->handle()
#15 /var/www/ak-booking/aimeos-dev/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(44): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\closure()
#16 /var/www/ak-booking/aimeos-dev/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Auth\Middleware\Authenticate->handle()
#17 /var/www/ak-booking/aimeos-dev/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(78): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\closure()
#18 /var/www/ak-booking/aimeos-dev/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle()
#19 /var/www/ak-booking/aimeos-dev/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\closure()
#20 /var/www/ak-booking/aimeos-dev/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\View\Middleware\ShareErrorsFromSession->handle()
#21 /var/www/ak-booking/aimeos-dev/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\closure()
#22 /var/www/ak-booking/aimeos-dev/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\Session\Middleware\StartSession->handleStatefulRequest()
#23 /var/www/ak-booking/aimeos-dev/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Session\Middleware\StartSession->handle()
#24 /var/www/ak-booking/aimeos-dev/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\closure()
#25 /var/www/ak-booking/aimeos-dev/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle()
#26 /var/www/ak-booking/aimeos-dev/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\closure()
#27 /var/www/ak-booking/aimeos-dev/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Cookie\Middleware\EncryptCookies->handle()
#28 /var/www/ak-booking/aimeos-dev/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\closure()
#29 /var/www/ak-booking/aimeos-dev/vendor/laravel/framework/src/Illuminate/Routing/Router.php(799): Illuminate\Pipeline\Pipeline->then()
#30 /var/www/ak-booking/aimeos-dev/vendor/laravel/framework/src/Illuminate/Routing/Router.php(776): Illuminate\Routing\Router->runRouteWithinStack()
#31 /var/www/ak-booking/aimeos-dev/vendor/laravel/framework/src/Illuminate/Routing/Router.php(740): Illuminate\Routing\Router->runRoute()
#32 /var/www/ak-booking/aimeos-dev/vendor/laravel/framework/src/Illuminate/Routing/Router.php(729): Illuminate\Routing\Router->dispatchToRoute()
#33 /var/www/ak-booking/aimeos-dev/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(190): Illuminate\Routing\Router->dispatch()
#34 /var/www/ak-booking/aimeos-dev/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\closure()
#35 /var/www/ak-booking/aimeos-dev/app/Http/Middleware/SetLocale.php(25): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\closure()
#36 /var/www/ak-booking/aimeos-dev/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\Http\Middleware\SetLocale->handle()
#37 /var/www/ak-booking/aimeos-dev/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\closure()
#38 /var/www/ak-booking/aimeos-dev/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
#39 /var/www/ak-booking/aimeos-dev/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle()
#40 /var/www/ak-booking/aimeos-dev/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\closure()
#41 /var/www/ak-booking/aimeos-dev/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
#42 /var/www/ak-booking/aimeos-dev/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\TrimStrings->handle()
#43 /var/www/ak-booking/aimeos-dev/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\closure()
#44 /var/www/ak-booking/aimeos-dev/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle()
#45 /var/www/ak-booking/aimeos-dev/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\closure()
#46 /var/www/ak-booking/aimeos-dev/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle()
#47 /var/www/ak-booking/aimeos-dev/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(49): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\closure()
#48 /var/www/ak-booking/aimeos-dev/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Http\Middleware\HandleCors->handle()
#49 /var/www/ak-booking/aimeos-dev/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(39): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\closure()
#50 /var/www/ak-booking/aimeos-dev/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Http\Middleware\TrustProxies->handle()
#51 /var/www/ak-booking/aimeos-dev/app/Http/Middleware/TrustHosts.php(24): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\closure()
#52 /var/www/ak-booking/aimeos-dev/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\Http\Middleware\TrustHosts->handle()
#53 /var/www/ak-booking/aimeos-dev/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\closure()
#54 /var/www/ak-booking/aimeos-dev/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(165): Illuminate\Pipeline\Pipeline->then()
#55 /var/www/ak-booking/aimeos-dev/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(134): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
#56 /var/www/ak-booking/aimeos-dev/public/index.php(52): Illuminate\Foundation\Http\Kernel->handle()
#57 main

User avatar
aimeos
Administrator
Posts: 7858
Joined: 01 Jan 1970, 00:00

Re: Called unknown macro "clea" on class "Aimeos\MShop\Customer\Item\Standard"

Post by aimeos » 17 Mar 2023, 15:52

Can you post the output of "composer show" too?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

nowrap
Posts: 37
Joined: 01 Mar 2023, 23:03

Re: Called unknown macro "clea" on class "Aimeos\MShop\Customer\Item\Standard"

Post by nowrap » 17 Mar 2023, 15:56

Here is the composer show output. System is running Ubuntu 22 LTS with included PHP 8.1.2

Code: Select all

aimeos-themes/ak                   dev-dev         Aimeos ak theme
aimeos/ai-admin-graphql            2022.10.7       Aimeos Admin GraphQL API extension
aimeos/ai-admin-jqadm              2022.10.8       Aimeos VueJS+Bootstrap admin backend
aimeos/ai-admin-jsonadm            2022.10.2       Aimeos JSON admin API for backend
aimeos/ai-client-html              2022.10.10      Aimeos standard HTML frontend
aimeos/ai-client-jsonapi           2022.10.4       Aimeos frontend JSON REST API
aimeos/ai-cms-grapesjs             2022.10.8       Aimeos GrapesJS CMS extension
aimeos/ai-controller-frontend      2022.10.6       Aimeos business controller logic for frontend
aimeos/ai-controller-jobs          2022.10.8       Aimeos job controllers for long running tasks
aimeos/ai-laravel                  2022.10.6       Laravel adapter for Aimeos e-commerce integration
aimeos/ai-payments                 2022.10.5       Payment extension for Aimeos e-commerce solutions
aimeos/aimeos-base                 2022.10.4       Aimeos base layer for abstracting from host environments
aimeos/aimeos-core                 2022.10.12      Full-featured e-commerce components for high performance online shops
aimeos/aimeos-laravel              2022.10.6       Professional, full-featured and high performance Laravel e-commerce package for online shops and ...
aimeos/macro                       1.0.0           Dynamically extend objects by custom methods
aimeos/map                         3.4.0           Easy and elegant handling of PHP arrays as array-like collection objects similar to jQuery and La...
aimeos/upscheme                    0.8.7           Database schema upgrades made easy
brick/math                         0.11.0          Arbitrary-precision arithmetic library
clue/stream-filter                 v1.6.0          A simple and modern approach to stream filtering in PHP
dflydev/dot-access-data            v3.0.2          Given a deep data structure, access data by dot notation.
doctrine/cache                     2.2.0           PHP Doctrine Cache library is a popular cache implementation that supports many different drivers...
doctrine/dbal                      3.6.1           Powerful PHP database abstraction layer (DBAL) with many features for database schema introspecti...
doctrine/deprecations              v1.0.0          A small layer on top of trigger_error(E_USER_DEPRECATED) or PSR-3 logging with options to disable...
doctrine/event-manager             2.0.0           The Doctrine Event Manager is a simple PHP event system that was built to be used with the variou...
doctrine/inflector                 2.0.6           PHP Doctrine Inflector is a small library that can perform string manipulations with regard to up...
doctrine/instantiator              2.0.0           A small, lightweight utility to instantiate objects in PHP without invoking their constructors
doctrine/lexer                     3.0.0           PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.
dragonmantank/cron-expression      v3.3.2          CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due
egulias/email-validator            4.0.1           A library for validating emails against several RFCs
enshrined/svg-sanitize             0.15.4          An SVG sanitizer for PHP
fakerphp/faker                     v1.21.0         Faker is a PHP library that generates fake data for you.
filp/whoops                        2.15.1          php error handling for cool kids
fruitcake/php-cors                 v1.2.0          Cross-origin resource sharing library for the Symfony HttpFoundation
graham-campbell/result-type        v1.1.1          An Implementation Of The Result Type
guzzlehttp/guzzle                  7.5.0           Guzzle is a PHP HTTP client library
guzzlehttp/promises                1.5.2           Guzzle promises library
guzzlehttp/psr7                    2.4.4           PSR-7 message implementation that also provides common utility methods
guzzlehttp/uri-template            v1.0.1          A polyfill class for uri_template of PHP
hamcrest/hamcrest-php              v2.0.1          This is the PHP port of Hamcrest Matchers
laminas/laminas-diactoros          2.24.0          PSR HTTP Message implementations
laracasts/utilities                3.2.2           Transform your PHP to JavaScript
laravel/breeze                     v1.19.2         Minimal Laravel authentication scaffolding with Blade and Tailwind.
laravel/framework                  v9.52.4         The Laravel Framework.
laravel/sail                       v1.21.2         Docker files for running a basic Laravel application.
laravel/sanctum                    v2.15.1         Laravel Sanctum provides a featherweight authentication system for SPAs and simple APIs.
laravel/serializable-closure       v1.3.0          Laravel Serializable Closure provides an easy and secure way to serialize closures in PHP.
laravel/tinker                     v2.8.1          Powerful REPL for the Laravel framework.
league/commonmark                  2.3.9           Highly-extensible PHP Markdown parser which fully supports the CommonMark spec and GitHub-Flavore...
league/config                      v1.2.0          Define configuration arrays with strict schemas and access values with dot notation
league/flysystem                   3.12.3          File storage abstraction for PHP
league/mime-type-detection         1.11.0          Mime-type detection for Flysystem
mockery/mockery                    1.5.1           Mockery is a simple yet flexible PHP mock object framework
moneyphp/money                     v4.1.0          PHP implementation of Fowler's Money pattern
monolog/monolog                    2.9.1           Sends your logs to files, sockets, inboxes, databases and various web services
myclabs/deep-copy                  1.11.1          Create deep copies (clones) of your objects
nesbot/carbon                      2.66.0          An API extension for DateTime that supports 281 different languages.
nette/schema                       v1.2.3          📐 Nette Schema: validating data structures against a given Schema.
nette/utils                        v4.0.0          🛠  Nette Utils: lightweight utilities for string & array manipulation, image handling, safe JS...
nikic/php-parser                   v4.15.4         A PHP parser written in PHP
nunomaduro/collision               v6.4.0          Cli error handling for console/command-line PHP applications.
nunomaduro/termwind                v1.15.1         Its like Tailwind CSS, but for the console.
nyholm/psr7                        1.5.1           A fast PHP7 implementation of PSR-7
omnipay/common                     v3.2.0          Common components for Omnipay payment processing library
omnipay/stripe                     v3.2.0          Stripe driver for the Omnipay payment processing library
phar-io/manifest                   2.0.3           Component for reading phar.io manifest information from a PHP Archive (PHAR)
phar-io/version                    3.2.1           Library for handling version information and constraints
php-http/curl-client               2.2.1           PSR-18 and HTTPlug Async client with cURL
php-http/discovery                 1.15.2          Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations
php-http/httplug                   2.3.0           HTTPlug, the HTTP client abstraction for PHP
php-http/message                   1.13.0          HTTP Message related tools
php-http/message-factory           v1.0.2          Factory interfaces for PSR-7 HTTP Message
php-http/promise                   1.1.0           Promise used for asynchronous HTTP requests
phpoption/phpoption                1.9.1           Option Type for PHP
phpunit/php-code-coverage          9.2.26          Library that provides collection, processing, and rendering functionality for PHP code coverage i...
phpunit/php-file-iterator          3.0.6           FilterIterator implementation that filters files based on a list of suffixes.
phpunit/php-invoker                3.1.1           Invoke callables with a timeout
phpunit/php-text-template          2.0.4           Simple template engine.
phpunit/php-timer                  5.0.3           Utility class for timing
phpunit/phpunit                    9.6.5           The PHP Unit Testing framework.
psr/cache                          3.0.0           Common interface for caching libraries
psr/container                      2.0.2           Common Container Interface (PHP FIG PSR-11)
psr/event-dispatcher               1.0.0           Standard interfaces for event handling.
psr/http-client                    1.0.1           Common interface for HTTP clients
psr/http-factory                   1.0.1           Common interfaces for PSR-7 HTTP message factories
psr/http-message                   1.0.1           Common interface for HTTP messages
psr/log                            3.0.0           Common interface for logging libraries
psr/simple-cache                   3.0.0           Common interfaces for simple caching
psy/psysh                          v0.11.12        An interactive shell for modern PHP.
ralouphie/getallheaders            3.0.3           A polyfill for getallheaders.
ramsey/collection                  2.0.0           A PHP library for representing and manipulating collections.
ramsey/uuid                        4.x-dev bf2bee2 A PHP library for generating and working with universally unique identifiers (UUIDs).
rbdwllr/reallysimplejwt            5.0.0           A really simple library to generate user authentication JSON Web Tokens.
sebastian/cli-parser               1.0.1           Library for parsing CLI options
sebastian/code-unit                1.0.8           Collection of value objects that represent the PHP code units
sebastian/code-unit-reverse-lookup 2.0.3           Looks up which function or method a line of code belongs to
sebastian/comparator               4.0.8           Provides the functionality to compare PHP values for equality
sebastian/complexity               2.0.2           Library for calculating the complexity of PHP code units
sebastian/diff                     4.0.4           Diff implementation
sebastian/environment              5.1.5           Provides functionality to handle HHVM/PHP environments
sebastian/exporter                 4.0.5           Provides the functionality to export PHP variables for visualization
sebastian/global-state             5.0.5           Snapshotting of global state
sebastian/lines-of-code            1.0.3           Library for counting the lines of code in PHP source code
sebastian/object-enumerator        4.0.4           Traverses array structures and object graphs to enumerate all referenced objects
sebastian/object-reflector         2.0.4           Allows reflection of object attributes, including inherited and non-public ones
sebastian/recursion-context        4.0.5           Provides functionality to recursively process PHP variables
sebastian/resource-operations      3.0.3           Provides a list of PHP built-in functions that operate on resources
sebastian/type                     3.2.1           Collection of value objects that represent the types of the PHP type system
sebastian/version                  3.0.2           Library that helps with managing the version number of Git-hosted PHP projects
spatie/backtrace                   1.4.0           A better backtrace
spatie/flare-client-php            1.3.5           Send PHP errors to Flare
spatie/ignition                    1.4.5           A beautiful error page for PHP applications.
spatie/laravel-ignition            1.6.4           A beautiful error page for Laravel applications.
symfony/console                    v6.2.7          Eases the creation of beautiful and testable command line interfaces
symfony/css-selector               v6.2.7          Converts CSS selectors to XPath expressions
symfony/deprecation-contracts      v3.2.1          A generic function and convention to trigger deprecation notices
symfony/error-handler              v6.2.7          Provides tools to manage errors and ease debugging PHP code
symfony/event-dispatcher           v6.2.7          Provides tools that allow your application components to communicate with each other by dispatchi...
symfony/event-dispatcher-contracts v3.2.1          Generic abstractions related to dispatching event
symfony/finder                     v6.2.7          Finds files and directories via an intuitive fluent interface
symfony/http-foundation            v6.2.7          Defines an object-oriented layer for the HTTP specification
symfony/http-kernel                v6.2.7          Provides a structured process for converting a Request into a Response
symfony/mailer                     v6.2.7          Helps sending emails
symfony/mime                       v6.2.7          Allows manipulating MIME messages
symfony/options-resolver           v6.2.7          Provides an improved replacement for the array_replace PHP function
symfony/polyfill-ctype             v1.27.0         Symfony polyfill for ctype functions
symfony/polyfill-intl-grapheme     v1.27.0         Symfony polyfill for intl's grapheme_* functions
symfony/polyfill-intl-idn          v1.27.0         Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions
symfony/polyfill-intl-normalizer   v1.27.0         Symfony polyfill for intl's Normalizer class and related functions
symfony/polyfill-mbstring          v1.27.0         Symfony polyfill for the Mbstring extension
symfony/polyfill-php72             v1.27.0         Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions
symfony/polyfill-php80             v1.27.0         Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions
symfony/polyfill-uuid              v1.27.0         Symfony polyfill for uuid functions
symfony/process                    v6.2.7          Executes commands in sub-processes
symfony/psr-http-message-bridge    v2.1.4          PSR HTTP message bridge
symfony/routing                    v6.2.7          Maps an HTTP request to a set of configuration variables
symfony/service-contracts          v3.2.1          Generic abstractions related to writing services
symfony/string                     v6.2.7          Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme c...
symfony/translation                v6.2.7          Provides tools to internationalize your application
symfony/translation-contracts      v3.2.1          Generic abstractions related to translation
symfony/uid                        v6.2.7          Provides an object-oriented API to generate and represent UIDs
symfony/var-dumper                 v6.2.7          Provides mechanisms for walking through any arbitrary PHP variable
symfony/yaml                       v6.2.7          Loads and dumps YAML files
tecnickcom/tcpdf                   6.6.2           TCPDF is a PHP class for generating PDF documents and barcodes.
theseer/tokenizer                  1.2.1           A small library for converting tokenized PHP source code into XML and potentially other formats
tijsverkoyen/css-to-inline-styles  2.2.6           CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files w...
vlucas/phpdotenv                   v5.5.0          Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.
voku/portable-ascii                2.0.1           Portable ASCII library - performance optimized (ascii) string functions for php.
webmozart/assert                   1.11.0          Assertions to validate method input/output with nice error messages.
webonyx/graphql-php                v15.2.3         A PHP port of GraphQL reference implementation

User avatar
aimeos
Administrator
Posts: 7858
Joined: 01 Jan 1970, 00:00

Re: Called unknown macro "clea" on class "Aimeos\MShop\Customer\Item\Standard"

Post by aimeos » 17 Mar 2023, 16:46

Can you check if you have the same code as this one in your ./vendor/aimeos/ai-laravel/src/MShop/Customer/Manager/Laravel.php file at line 451:
https://github.com/aimeos/ai-laravel/bl ... l.php#L451
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

nowrap
Posts: 37
Joined: 01 Mar 2023, 23:03

Re: Called unknown macro "clea" on class "Aimeos\MShop\Customer\Item\Standard"

Post by nowrap » 17 Mar 2023, 16:59

Most impressive!

No, the lines reads:

Code: Select all

$billingAddress = $item->clea();
Maybe the code search from PHPStorm skipped the vendor dirs.

A "composer status -v" also shows this class as modified:

Code: Select all

src/MShop/Customer/Manager/Laravel.php
So restoring it should end this issue.

Thanx alot for your help ;)

Regards
.nowrap

Post Reply