Skip to content

Instantly share code, notes, and snippets.

View albertobraschi's full-sized avatar

Alberto Braschi albertobraschi

View GitHub Profile

Magento testing scenarios

For use after an upgrade to verify the correct working of Magento

SHIP IT

Frontend

General

  • Activate all logs on the server (PHP, MySQL, Magento, mail, etc)
  • Check meta tags in HTML
Fatal error: Uncaught TypeError: Argument 5 passed to Webkul\Mpshipping\Model\ResourceModel\Mpshipping\Collection\Interceptor::__construct() must implement interface Magento\Store\Model\StoreManagerInterface, string given, called in /home/u541277890/domains/mercadoeshop.com.br/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php on line 111 and defined in /home/u541277890/domains/mercadoeshop.com.br/public_html/generated/code/Webkul/Mpshipping/Model/ResourceModel/Mpshipping/Collection/Interceptor.php:11 Stack trace: #0 /home/u541277890/domains/mercadoeshop.com.br/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(111): Webkul\Mpshipping\Model\ResourceModel\Mpshipping\Collection\Interceptor->__construct(Object(Magento\Framework\Data\Collection\EntityFactory), Object(WeltPixel\Backend\Model\Logger), Object(Magento\Framework\Data\Collection\Db\FetchStrategy\Query), Object(Magento\Framework\Event\Manager\Proxy), 'marketplace_shi...', 'Webkul\\Mpshippi...', NUL
#START FOR ub-tool APP CONFIG
set $yii_bootstrap "index.php";
#charset utf-8;
location /pub/ub-tool {
index index.html $yii_bootstrap;
try_files $uri $uri/ /$yii_bootstrap?$args;
}
location ~ ^/pub/ub-tool/(protected|framework|themes/\w+/views) {
deny all;
https://www.aicasa.com.br/ambiente/varanda2/jogos-de-mesas/jogo-de-mesa-de-aluminio-e-fibra-sintetica-cravo.html?amp=1
https://www.aicasa.com.br/ambiente/varanda2/jogos-de-mesas/jogo-de-mesa-de-aluminio-e-fibra-sintetica-girassol.html?amp=1
https://www.aicasa.com.br/ambiente/varanda2/espreguicadeiras/espreguicadeira-de-aluminio-e-fibra-sintetica-petunia.html?amp=1
https://www.aicasa.com.br/ambiente/varanda2/chaises/chaise-de-aluminio-e-fibra-sintetica-girassol.html?amp=1
https://www.aicasa.com.br/ambiente/varanda2/espreguicadeiras/espreguicadeira-de-aluminio-e-fibra-sintetica-caracol.html?amp=1
https://www.aicasa.com.br/linha-pet-shop/caminha-pet-aluminio-e-fibra-sintetica-azul-estofado-rosa.html?amp=1
<root>
<blocks>
<cms_item>
<title>Porto - Homepage Slider 1</title>
<identifier>porto_homeslider_1</identifier>
<content><![CDATA[<div class="full-screen-slider">
<div id="banner-slider-demo-3" class="owl-carousel owl-bottomright-narrow owl-banner-carousel">
<div class="item" style="background:#f0f0f0;background-image:linear-gradient(#e8e8e8,#f0f0f0);position:relative;">
<div style="width:100%;height:100%;width:100vw;height:100vh;background:url({{media url="wysiwyg/smartwave/porto/homepage/03/slider/slide3.jpg"}}) 70% top no-repeat; background-size:cover;"></div>
<div class="slide3-content" style="width:100%;height:100%;position:absolute;left:0;top:0;">
2019-04-17T18:06:42+00:00 DEBUG (7): id pedido: \<pre>string(7) "1029899"
\</pre>
2019-04-17T18:06:42+00:00 DEBUG (7): shipments: \<pre>array(1) {
[0] => array(12) {
["shipping_method"] => string(31) " - Econômico (12 dias úteis):"
["track_url"] => string(59) "https://status.ondeestameupedido.com/tracking/10911/1029899"
["shipping_company"] => string(21) "Mandaê Econômico 1 "
["track_code"] => string(12) "QUART1029899"
["nfe_number"] => string(5) "37590"
["nfe_serie"] => string(1) "1"
@albertobraschi
albertobraschi / README.md
Created April 17, 2019 12:07 — forked from leek/_Magento2_DeleteTestData.md
Magento 2 - Delete All Test Data

These set of scripts are for Magento 2. For Magento 1, see this Gist.

@albertobraschi
albertobraschi / debugging-tips-tricks-magento-1x.md
Created March 8, 2019 13:30 — forked from molotovbliss/debugging-tips-tricks-magento-1x.md
Debugging tips & tricks with Magento 1.x Commerce
@albertobraschi
albertobraschi / debugging-tips-tricks-magento-1x.md
Created March 8, 2019 13:30 — forked from molotovbliss/debugging-tips-tricks-magento-1x.md
Debugging tips & tricks with Magento 1.x Commerce
#!/bin/bash
PROGNAME=${0##*/}
INPUT=''
QUIET='0'
NOSTATS='0'
max_input_size=0
max_output_size=0
usage()