Comments (7)
Please use this command to install the proper version:
composer require offline/oc-mall-plugin v2.x-dev
from oc-mall-plugin.
Hello,
thanks for your issue / report. Looks like you're using either WinterCMS, which is based on OctoberCMS v1.1.2 (as far as i know), or a deprecated OctoberCMS v2 version (less then v2.2). According to the path in your comment, probably the former one.
Mall dropped v1 support a long time ago, and requires at least OctoberCMS v2.2 (or OctoberCMS v3+).
I don't know how @tobias-kuendig sees the support for WinterCMS, but I think that the official Mall Extension should not support 2 different systems, especially if they will continue to differ in the future. Since the only WinterCMS port I know of was archived end of last year, you can either upgrade to OctoberCMS or develop your own fork.
You can of course just add the missing interface yourself, but keep in mind that there may be many similar (or different) problems in other places too.
Sincerely,
Sam.
References
- October\Contracts\Twig\CallsAnyMethod has been introduced in v2.2.0
from oc-mall-plugin.
Branch v2 is compatible with WinterCMS v1.2+
from oc-mall-plugin.
The error is happening because you are not using the correct branch (v2}.
from oc-mall-plugin.
Thanks for the hint, didn't know that v2 pays attention to WinterCMS. Still, I don't know if the branch is still actively maintained besides a few community commits, but it definitively misses many changes that have already been made in v3 and will arrive in the near future.
from oc-mall-plugin.
@SamBrishes the v2 branch is kept to remain compatible with Winter CMS and older October CMS versions. It does only receive security fixes and fixes provided by the community.
@Pascualsolutions @mjauvin's solution should work in this case. Thank you for providing it, @mjauvin!
from oc-mall-plugin.
Thank you very much for your help and the information. The plugin is now working without any errors. I also installed the Mall theme which I still haven't managed to configure, but it might be necessary to install an older version there too. Thank you once again.
Best regards, Alex.
from oc-mall-plugin.
Related Issues (20)
- Remove RainLab\User dependency on Mall\Customer model HOT 3
- Download Invoice button missing in backend orders. HOT 2
- Call to a member function mapWithKeys() on array error if Old Price disabled HOT 6
- Can't delete Payment Method HOT 1
- Backend order breaks after disabling payment method HOT 2
- Missing data for Invoice order partial HOT 1
- Indirect modification of overloaded property October\Rain\Element\ElementHolder::$missing_file_hint has no effect HOT 1
- \MallComponent::decode(): Argument #1 ($value) must be of type string, null given, called in \components\Product.php on line 44 HOT 4
- "Illegal offset type" on line 105 of ~/app/plugins/offline/mall/classes/traits/CustomFields.php HOT 1
- An exception has been thrown during the rendering of a template HOT 12
- Discount per quantity purchased
- Add quantity input close to "add to cart button" on the category page
- Error when create new product Call to a member function mapWithKeys() on array HOT 1
- Missing recordsPerPage and showSearch customergroups/config_relation.yaml HOT 1
- Missing default values in component \offline\mall\components\product\customfields\text.htm for CMS_STRICT_VARIABLES=true HOT 2
- Can't update to Rainlab\User V3.0 HOT 4
- Which Version of the Plugin is Compatible with Winter CMS? HOT 1
- Allow PaymentGatewaySettings to be different between multisites HOT 2
- Free products error. DivisionByZeroError: Division by zero in /offline/mall/classes/pricing/concerns/ApplyDiscounts.php:37 HOT 1
- Column not found: 1054 Unknown column 'download_count' in 'field list' (SQL: update `system_files` set `download_count` = `download_count` + 1,... HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oc-mall-plugin.