Comments (5)
This issue is fixed in 1.6.0.beta-1
from merx.
OK... i just found out it is just for this special PHP Version. After changing to PHP8 it seems to work fine again.
from merx.
Hi,
I also get "Failed to load resource: the server responded with a status of 500 (Internal Server Error)" with php 8.0.3.
Fatal error: Wagnerwagner\Merx\ProductList::__set(): Return type must be void when declared in C:\test\site\plugins\merx\src\productList.php on line 82
{"status":"error","exception":"Whoops\Exception\ErrorException","code":64,"message":"Wagnerwagner\Merx\ProductList::__set(): Return type must be void when declared","details":null,"file":"\test\site\plugins\merx\src\productList.php","line":82}
from merx.
Also tested with PHP Version 7.3.10. With this version I get:
Argument 2 passed to Kirby\Cms\App::trigger() must be of the type array, object given, called in Z:\web_dev\base\bs.com\site\plugins\merx\src\cart.php on line 22
from merx.
hey lovely @wagnerwagner team,
thank you so much for your hard work on this beautiful plugin! π€ β¨
it's strange but when trying to add products to the cart, i am seeing the same error from above with php 8.0.14
on kirby 3.6.1.1
. can you please check that?
thanks!
Whoops\Exception\ErrorException thrown with message "Wagnerwagner\Merx\ProductList::__set(): Return type must be void when declared"
Stacktrace:
#2 Whoops\Exception\ErrorException in /site/plugins/merx/src/ProductList.php:83
#1 Whoops\Run:handleError in /kirby/vendor/filp/whoops/src/Whoops/Run.php:486
#0 Whoops\Run:handleShutdown in [internal]:0
EDIT: @klauswagner i though commit 65a2c26
was already live, but it looks like it's not? i just manually changed that in my code and now it works like a charm!
from merx.
Related Issues (20)
- No such payment_intent HOT 1
- Order validation on multi-language sites breaks on Kirby 3.6.4+ HOT 6
- Compatibility issue with Kirby 3.7.1 HOT 4
- Is it possible to disable online payments? HOT 1
- Upgrade to Paypal API v2 HOT 5
- Wagnerwagner\Merx\ProductList::__set(): Return type must be void when declared HOT 2
- Discount per product? HOT 1
- How do you add different types of sizes for a product? HOT 2
- Deprecated Stripe API
- Save orders in a specific language HOT 1
- Order pages with identical page num created HOT 3
- Declaration of Wagnerwagner\Merx\ProductList::__set(string $key, $value) must be compatible with Kirby HOT 1
- Cart and Checkout problem HOT 1
- Cart()->remove() not removing product - Issue with UUID's HOT 2
- Dynamic shipping prices (request) HOT 1
- Allow donation or 'pay what you want' HOT 11
- Success page language HOT 2
- Will this plugin be updated for kirby 4? HOT 1
- Merx and Kirby4 HOT 5
- Custom invoice numbers break multi-language website 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 merx.