Skip to content

magento man

why do I get these numbers rendered in the front end? when I use ajax to do a get to an api

my pokemon-component.js define([ “jquery” ], function ($) { “use strict”; return { getPokemonResults: function () { /** * Return result from pokeapi * @return {Deferred} */ return $.ajax({ url: “https://pokeapi.co/api/v2/pokemon/”, type: “GET”, global: true, contentType: “application/json”, Data:{ ‘pokeData’:[] } });… Read More »why do I get these numbers rendered in the front end? when I use ajax to do a get to an api

Magento 2.1 Invalid Block Type Error

I got this error while trying to access an admin page 2 exception(s): Exception #0 (MagentoFrameworkExceptionLocalizedException): Invalid block type: WDWarehousingCreditNoteBlockAdminhtmlWarehousingcreditnoteEditForm Exception #1 (ReflectionException): Class WDWarehousingCreditNoteBlockAdminhtmlWarehousingcreditnoteEditForm does not exist Exception #0 (MagentoFrameworkExceptionLocalizedException): Invalid block type: WDWarehousingCreditNoteBlockAdminhtmlWarehousingcreditnoteEditForm #0 /var/www/wd-magento/vendor/magento/framework/View/Layout/Generator/Block.php(237): MagentoFrameworkViewLayoutGeneratorBlock->getBlockInstance(‘WD\WarehousingC…’, Array) #1… Read More »Magento 2.1 Invalid Block Type Error