magento2.3.3 – Magento 2.3.3: Requested store not found (for registered users)

Normally, switching between stores works smoothly.

This is the result when I change from children to women:
exemple.com/kids/clothes -> before the change
example.com/women -> after the change

But when someone is connected and on a category page, the switch does not work:
exemple.com/kids/clothes -> before the change
example.com/women/clothing -> after the change, women do not have this category

Any idea what the problem is?

error – Magento 2.3.3 – 502 Bad Gateway – Centos – Nginx

After placing the Magento 2.3.3 files in usr / share / nginx / html / magento and the database created, run the following,

php bin/magento setup:install --base-url=http://192.168.1.64/magento --db-host=localhost --db-name="magento" --db-user="root" --db-password="" --admin-firstname="abc" --admin-lastname="abc" --admin-email=abc@gmail.com --admin-user="magento" --admin-password="magento" --language="en_US" --currency="INR" --timezone="Asia/Kolkata" --use-rewrites="1"

and also edit etc / nginx / conf.d / magento.conf

upstream fastcgi_backend {
  server unix:/run/php-fpm/php-fpm.sock;
}

server {

  listen 8091;
  server_name http://192.168.1.64:8091/;
  set $MAGE_ROOT /var/www/html/magento;
  include /var/www/html/magento/nginx.conf.sample;
}

Screenshot : https://snipboard.io/K5t9Qm.jpg

How to solve 502 wrong gateway error?

magento2.3.3 – Update from Magento2 to 2.3.3 SQLSTATE[HY000] [2002] connection denied

I am trying to follow the devdoc instructions for a CLI update from 2.3.2 to 2.3.3, but I receive this connection error rejected in the process.

Me app/etc/env.php It looks like this …

    'db' => [
        'table_prefix' => '',
        'connection' => [
            'default' => [
                'host' => '127.0.0.1',
                'dbname' => 'my_database_name',
                'username' => 'my_database_user',
                'password' => 'my_database_password',
                'active' => '1'
            ]
        ]
    ],

I can connect using these credentials mysql -h 127.0.0.1 -u my_database_user -p my_database_name penalty fee.

Running a bin/magento setup:upgrade it gives me …

Cache cleared successfully
File system cleanup:
/var/www/html/magento2/generated/code/Amazon
/var/www/html/magento2/generated/code/Composer
/var/www/html/magento2/generated/code/Dotdigitalgroup
/var/www/html/magento2/generated/code/Ebizmarts
/var/www/html/magento2/generated/code/Infortis
/var/www/html/magento2/generated/code/MSP
/var/www/html/magento2/generated/code/Magento
/var/www/html/magento2/generated/code/Migration
/var/www/html/magento2/generated/code/Symfony
/var/www/html/magento2/generated/code/Temando
/var/www/html/magento2/generated/code/Yotpo
The directory '/var/www/html/magento2/generated/metadata/' doesn't exist - skipping cleanup
Updating modules:
Schema creation/updates:
SQLSTATE[HY000] [2002] Connection refused

I am really confused by this and how to correct it.

The only other clue I have is that magento.cron.log it has lines of the form …

In Abstract.php line 144:

  SQLSTATE[HY000] [2002] Connection refused


In Abstract.php line 128:

  SQLSTATE[HY000] [2002] Connection refused


queue:consumers:start [--max-messages MAX-MESSAGES] [--batch-size BATCH-SIZE] [--area-code AREA-CODE] [--single-thread] [--pid-file-path PID-FILE-PATH] [--] 

Any ideas?

Zend Framework – Magento 2.3.3 Class & # 39; Zend_Reflection_Class & # 39; Not found

I updated to magento 2.3.3 but I didn't notice that they changed the email
Classes and Zend Framework.

I have a custom module to edit emails in magento admin.

But I am having an error:

FastCGI sent in stderr: "PHP message: PHP Serious error: not captured
Error: Class & # 39; Zend_Reflection_Class & # 39; not found in myfile.php

My code is:

 {
        /**
         * @var VariableResolverInterface
         */
        private $variableResolver;

        public function __construct(
            VariableResolverInterface $variableResolver
        ) {
            $this->variableResolver = $variableResolver;
        }

        /**
         * {@inheritdoc}
         */
        public function getVariables()
        {
            $variables = $this->variableResolver->getOrigVariables();
            $result = (
                (
                    'label' => __('General Variables'),
                    'value' => (
                        (
                            'label' => __('Customer Name'),
                            'value' => __('{{ customer_name }}')
                        ),
                        (
                            'label' => __('Customer Email'),
                            'value' => __('{{ customer_email }}')
                        ),
                        (
                            'label' => __('Customer First Name'),
                            'value' => __('{{ customer_name | split: " " | first }}')
                        ),
                    )
                )
            );

            foreach ($variables as $variable) {
                $variableReflection = new Zend_Reflection_Class($variable);
                /** @var Zend_Reflection_Method() $reflectionMethods */
                $reflectionMethods = $variableReflection->getMethods(ReflectionMethod::IS_PUBLIC);

                if ($methods = $this->collectMethods($variable, $reflectionMethods)) {
                    $result() = (
                        'label' => __('%1 Variables', ucfirst($variable->getVariableName())),
                        'value' => $methods
                    );
                }
            }

            return $result;
        }

        /**
         * Collect all available methods for user.
         *
         * @param VariableInterface         $variable
         * @param Zend_Reflection_Method() $reflectionMethods
         *
         * @return array
         * @throws Zend_Reflection_Exception
         */
        private function collectMethods(VariableInterface $variable, array $reflectionMethods = ())
        {
            $methods = ();
            foreach ($reflectionMethods as $method) {
                if ($this->canUseMethod($method, $variable)) {
                    $docblock = $method->getDocblock();
                    $methodName = $this->convertToLiquid($method->getName());

                    // add methods available in the model object
                    if ($this->isObjectReturned($docblock) && $variable->getNamespace() == $methodName) {
                        $returnType = $docblock->getTag('return')->getType();
                        $variableReflection = new Zend_Reflection_Class($returnType);
                        $reflectionMethods = $variableReflection->getMethods(ReflectionMethod::IS_PUBLIC);

                        $methods = array_merge(
                            $methods,
                            $this->collectMethods($variable, $reflectionMethods)
                        );

                        continue;
                    }

                    if ($definition = $this->getMethodDefinition($variable, $method)) {
                        array_unshift($methods, $definition);
                    }
                }
            }

            return $methods;
        }

        /**
         * Determine whether the method can be used or not.
         *
         * @param Zend_Reflection_Method $method
         * @param VariableInterface       $variable
         *
         * @return bool
         * @throws Zend_Reflection_Exception
         */
        private function canUseMethod(Zend_Reflection_Method $method, VariableInterface $variable)
        {
            $canUse = false;
            if (strpos($method->getName(), 'get') === 0 // only getters
                && strpos($method->getDeclaringClass()->getName(), 'AbstractVariable') === false // ignore AbstractClass
                && strpos($method->getDocComment(), '@Suppress') === false // tags without space throw an error
                && $method->getNumberOfRequiredParameters() === 0 // only methods without parameters
                && stripos($method->getDocComment(), '@inheritdoc') === false // ignore methods with "inheritdoc"
                && $method->getDocComment() // skip methods without docblock
            ) {
                $canUse = true;
            }

            return $canUse;
        }

        /**
         * Convert method name to liquid compatible syntax.
         *
         * e.g., "getCouponCode" => coupon_code
         *
         * @param string $methodName
         *
         * @return string
         */
        private function convertToLiquid($methodName)
        {
            $methodWords = preg_split('/(?=(A-Z))/', $methodName); // split name by uppercase letters
            $methodWords = array_filter($methodWords, function($name) { // remove keyword "get" from words
                return $name !== 'get';
            });

            // join remained words with underscore
            return implode('_', array_map('strtolower', $methodWords));
        }

        /**
         * Whether the method return type is object or not.
         *
         * @param Zend_Reflection_Docblock $docblock
         *
         * @return bool
         *
         */
        private function isObjectReturned(Zend_Reflection_Docblock $docblock)
        {
            if ($docblock->hasTag('return')) {
                return strpos($docblock->getTag('return')->getType(), '\') !== false;
            }

            return false;
        }

        /**
         * Get liquid variable definition.
         *
         * @param VariableInterface $variable
         * @param Zend_Reflection_Method $method
         *
         * @return array
         * @throws Zend_Reflection_Exception
         * @SuppressWarnings(PHPMD.CyclomaticComplexity)
         */
        private function getMethodDefinition(VariableInterface $variable, Zend_Reflection_Method $method)
        {
            $definition = ();
            $docblock   = $method->getDocblock();
            $methodName = $this->convertToLiquid($method->getName());
            $namespace  = $docblock->getTag(VariableInterface::DOCBLOCK_TAG_NAMESPACE)
                ? $docblock->getTag(VariableInterface::DOCBLOCK_TAG_NAMESPACE)->getDescription()
                : $variable->getNamespace();

            if ((method_exists($variable, $method->getName())
                    && $method->getDeclaringClass()->getName() === get_class($variable)
                ) || in_array($method->getName(), $variable->getWhitelist())
            ) {
                $value = '';
                if ($docblock->getTag('return')->getType() == 'array'
                    || strpos($docblock->getTag('return')->getType(), '()') !== false
                ) {
                    $value .= "{% for item in {$namespace}.{$methodName} %}";
                    $value .= "\n\n";
                    $value .= "{% endfor %}";
                } else {
                    $filter = $docblock->getTag(VariableInterface::DOCBLOCK_TAG_FILTER)
                        ? $docblock->getTag(VariableInterface::DOCBLOCK_TAG_FILTER)->getDescription()
                        : null;

                    $value = "{{ {$namespace}.{$methodName} ";

                    if ($filter !== null) {
                        $value .= $filter; // add filter to variable
                    }

                    $value .= "}}"; // close variable
                }

                $definition = (
                    'value' => $value,
                    'label' => $docblock->hasTag(VariableInterface::DOCBLOCK_TAG_DESCRIPTION)
                        ? $docblock->getTag(VariableInterface::DOCBLOCK_TAG_DESCRIPTION)->getDescription()
                        : explode("n", $docblock->getShortDescription())(0)
                );
            }

            return $definition;
        }
    }

This is also happening with another class:

Zend_Reflection_Method

Anyone can help, how can I declare these classes now please?

magento2 – Paypal Payments Pro 3D Secure does not redirect to the success page Magento 2.3.3

I have a long-term problem in Magento 2.3.3 using Magento's native payment and shipping and Paypal Payments Pro. With many customers, transactions are not recorded in Google Analytics.

When a card payment method is used in the Safari browser (tested on iPhone), the embedded 3D secure screen that requires you to click to confirm the payment (or enter a password) is loaded. In Safari after 3D Secure, click to confirm that the payment page is redirected to the home page and that the order was successful. Omitting any Success page, thus skipping the conversion recording.

The test in Chrome and Firefox does not do this (desktop), it redirects correctly to the Magento success page and the conversion is recorded.

Does anyone know what could be the cause of this?

Thank you

Magento 2.3.3 after updating the address is not processed

I just updated the Magento store to the latest version after updating in all format printing addresses instead of address

enter the description of the image here

Anyone have any idea how to debug itself …?

Magento Ugrade 2.3.0 to 2.3.3 Authorized.net does not work

I just updated Magento 2.3.0 to 2.3.3, all problems have been solved only Authorized.net Payment method does not work with Sandbox account

Please give me a suggestion on this topic.

enter the description of the image here

Permission denied Problem installing npm in magento 2.3.3 after upgrading from 2.2.7

I face an error installing npm in magento2.3.3, after updating from 2.2.7
enter the description of the image here

enter the description of the image here

enter the description of the image here

npm errno -13

magento2.3.3 – Paypal and Magento Problem 2.3.3: Email is missing

After validating the payment in your paypal account, the new customer receives this error when returning to magento (new customers only, works well for registered customers) and the order is not created:

1 exception(s):
Exception #0 (MagentoFrameworkValidatorException): The customer email is missing. Enter and try again.

Exception #0 (MagentoFrameworkValidatorException): The customer email is missing. Enter and try again.
#1 MagentoEavModelEntityVersionControlAbstractEntity->save(&MagentoCustomerModelCustomerInterceptor#000000003b12e63b000000001fb73dc6#) called at (vendor/magento/framework/Interception/Interceptor.php:58)
#2 MagentoCustomerModelResourceModelCustomerInterceptor->___callParent('save', array(&MagentoCustomerModelCustomerInterceptor#000000003b12e63b000000001fb73dc6#)) called at (vendor/magento/framework/Interception/Interceptor.php:138)
#3 MagentoCustomerModelResourceModelCustomerInterceptor->MagentoFrameworkInterception{closure}(&MagentoCustomerModelCustomerInterceptor#000000003b12e63b000000001fb73dc6#) called at (vendor/magento/framework/App/Cache/FlushCacheByTags.php:68)

Any ideas ? It seems that you cannot create the order, but it is working with other types of payments.

Inventory from multiple sources – MSI in 2.3.3 problem and questions

I had the MSI installed in 2.3.3 and after a few days the website showed no products. The technician said it was the MSI because no quantities are shown. Then he disabled it. I like the MSI and I need it, is there a solution for this?
I want to be able to show suppliers in the administrator so I can see and see the available stocks and when I sell on eBay Amazon it follows. I could not find this addon and I thought MSI is solving, am I wrong? I need help here please.
Ron