1

Create a new order from the Admin panel for a particular customer. Magento default functionality is not working

When I add a new product and update to the shopping cart option then the page refresh but the product does not add to the Item order.

There is no error in the console.

Logfile has below error:

Broken reference: the 'page.menu' tries to reorder itself towards 'header', but their parents are different: 'page.wrapper' and 'content' respectively. [] []

enter image description here

1
  • Try to run the compile command one's and then check. Commented Aug 18, 2021 at 10:40

4 Answers 4

10

I was having the same issue in magento 2.3.7-p1. In logs, it was showing this error:

main.WARNING: Session size of 370635 exceeded allowed session max size of 256000. [] []

To fix this, run below command:

php bin/magento config:set system/security/max_session_size_admin 0

After cache flush, I was able to add products to shopping cart from admin order create page.

2
  • Great Answer!! Worked like a charm :) Can you please explain it further ? So We can know what we exactly did? Commented Dec 6, 2021 at 14:59
  • Thanks for saving the time. it worked. Commented Jan 25, 2022 at 15:57
1

WARNING: Session size of 296272 exceeded allowed session max size of 256000.

Solution: To run command

php bin/magento config:set system/security/max_session_size_admin 0

After do reindexing and flushing the cache.

php bin/magento i:rei
php bin/magento c:f
1

Hit given below command

php bin/magento config:set system/security/max_session_size_admin 512000

and after that hit these commands

php bin/magento setup:static-content:deploy -f;
php bin/magento indexer:reindex;
php bin/magento c:f;
sudo chmod -R 777 generated/ var/ pub/ var/

I hope it is working for you.

0

its working thanks for the great solution

1
  • Please don't add "thank you" as an answer. Instead, vote up the answers that you find helpful. - From Review
    – Msquare
    Commented Jan 6, 2022 at 3:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.