I have a module that extends the variant selections block and AJAX call implement there. And, everything is working great, but when the module is active when I am trying to add an item in the basket, I am getting the following error:
OXID Logger.ERROR: Argument 1 passed to OxidEsales\EshopCommunity\Internal\Framework\Templating\Resolver\LegacyTemplateNameResolver::resolve() must be of the type string, null given, called in /var/www/html/oxid_fresh_19_04_2020_test/vendor/oxid-esales/oxideshop-ce/source/Internal/Framework/Templating/Loader/TemplateLoader.php on line 103
What module is it? What happened to make it stop working? Did you upgrade the shop? If so, which Oxid version did you use before (when the module worked) and which version do you use now? etc. etc.
As I mentioned above, in the block for variant selection, I implemented an AJAX call that is working okay. But when module is active, and when I am trying to add item in the basket, I am getting the error mentioned above in the post.
The module is still in development mode (OXID 6.2).
The only thing that I can see is that the error is thrown from the class for testing in OXID, and that some parameter in my OXID call is missing. So, I am guessing which one…
Sorry the late response but in this moment i had the same error and i know how to fix it. Its only a Problem for OXID 6.2. You can solve it with a return value in the called function. For me a return true; has solved the problem…