peedee
  • Member for 6 years, 9 months
  • Last seen this week
  • Zürich, Schweiz
Magento\Framework\ObjectManager\ObjectManager given
10 votes

I have had this type of error as well. It was a spelling problem, I called to instantiate an object but used a lower case letter in the class name when I should have used an upper case letter. See ...

View answer
Error "Payment model name is not provided in config" when having config in payment section
9 votes

I disagree with the accepted answer. I found myself in a similar situation as OP and made my own experiments to get rid of this error, and what solved it for me was setting a title in etc/config.xml. ...

View answer
Problems with DateTime: failed to parse time string
Accepted answer
5 votes

Answering my own question now that I solved it. I was missing a date filter to convert the localized date to an internal date before saving my model. I found this when looking at Magento\CatalogRule\...

View answer
M2 - Change admin login language
Accepted answer
4 votes

Your second try is in fact the right answer. The setting in Stores > Configuration > General > General > Locale Options > Locale is responsible for the admin login form, but only when set for the ...

View answer
Interceptor error in Controller magento2
Accepted answer
4 votes

The translation function __() is defined in app/functions.php and is not a part of $this. You should call it directly, without $this, as follows: public function execute() { .... $rootCategory ...

View answer
How to create custom sticky admin system messages?
Accepted answer
2 votes

I have solved this myself. Your module needs a dependency to Magento_AdminNotification. Then you create a model which implements MessageInterface, like this: class YourMessage implements \Magento\...

View answer
How to debug Uncaught TypeError: Argument must be class A, class B given
1 votes

Apparently I was stupid. I could have sworn that I tried deleting var/generation and then re-compiling. But now I did that "again" and it solved the problem. It turns out that running bin/magento ...

View answer
How can i deploy backend only in Magento2
0 votes

To my knowledge what your asking is not possible in Magento2 at the moment. However, since your goal is to save time, here are two options: Just don't wait for it to finish deploying. In my ...

View answer
Magento 2 - Add reviews list in theme template
0 votes

There are always better solutions. In order to make these kind of things more reusable, one better way would be to make your reviews into a widget. Create etc/widget.xml in your module and point it ...

View answer
Add to cart inconsistent after 2.0.2 upgrade
0 votes

Did you ever make any progress on this? It sounds like the problems described here: https://github.com/magento/magento2/issues/3572 For me, those problems still persist and I don't have a way to ...

View answer