cancel
Showing results for 
Search instead for 
Did you mean: 

Upgrade 2.2.6 to 2.3.1 - Framework Error with "sashas/bug-from-email"

SOLVED

Upgrade 2.2.6 to 2.3.1 - Framework Error with "sashas/bug-from-email"

I am trying to upgrade from CE 2.2.6 to CE 2.3.1 using the following instructions:

 

https://devdocs.magento.com/guides/v2.3/comp-mgr/cli/cli-upgrade.html

 

1) I run $ php -f pre_composer_update_2.3.php -- --root='/[magento root]/' --repo=https://repo.magento.com/ <options>

2) I run $ composer update --ignore-platform-reqs

Then I get the following results...

 

-bash-4.2$ composer update --ignore-platform-reqs
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - sashas/bug-from-email 2.0.5 requires magento/framework 101.0.4|101.0.5|101.0.6 -> satisfiable by magento/framework[101.0.6, 101.0.4, 101.0.5].
    - sashas/bug-from-email 2.0.5 requires magento/framework 101.0.4|101.0.5|101.0.6 -> satisfiable by magento/framework[101.0.6, 101.0.4, 101.0.5].
    - sashas/bug-from-email 2.0.6 requires magento/framework 101.0.4|101.0.5|101.0.6|101.0.7 -> satisfiable by magento/framework[101.0.6, 101.0.4, 101.0.5, 101.0.7].
    - sashas/bug-from-email 2.0.7 requires magento/framework 101.0.4|101.0.5|101.0.6|101.0.7|101.0.8 -> satisfiable by magento/framework[101.0.6, 101.0.4, 101.0.5, 101.0.7, 101.0.8].
    - sashas/bug-from-email 2.0.0 requires magento/framework 101.0.4 -> satisfiable by magento/framework[101.0.4].
    - sashas/bug-from-email 2.0.1 requires magento/framework 101.0.4 -> satisfiable by magento/framework[101.0.4].
    - sashas/bug-from-email 2.0.3 requires magento/framework 101.0.4|101.0.5 -> satisfiable by magento/framework[101.0.4, 101.0.5].
    - sashas/bug-from-email 2.0.4 requires magento/framework 101.0.4|101.0.5 -> satisfiable by magento/framework[101.0.4, 101.0.5].
    - Can only install one of: magento/framework[102.0.1, 101.0.6].
    - Can only install one of: magento/framework[102.0.1, 101.0.4].
    - Can only install one of: magento/framework[102.0.1, 101.0.5].
    - Can only install one of: magento/framework[102.0.1, 101.0.6].
    - Can only install one of: magento/framework[102.0.1, 101.0.7].
    - Can only install one of: magento/framework[101.0.8, 102.0.1].
    - magento/product-community-edition 2.3.1 requires magento/framework 102.0.1 -> satisfiable by magento/framework[102.0.1].
    - Installation request for magento/product-community-edition 2.3.1 -> satisfiable by magento/product-community-edition[2.3.1].
    - Installation request for sashas/bug-from-email ^2.0 -> satisfiable by sashas/bug-from-email[2.0.0, 2.0.1, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.7].

I have NO idea what sashas/bug-from-email is. Google just returns me to its github page https://github.com/sashas777/bug-from-email which just has install/uninstall instructions. I try to uninstall it and it says Amazon Pay is dependent of it, which was built into 2.2 from what I understand.

What do I need to do to get around this? I've spent all day beating my head on my desk and beyond frustrated. Thank you.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Upgrade 2.2.6 to 2.3.1 - Framework Error with "sashas/bug-from-email"

I finally found the fix to ALL of my magento headaches...and I had A LOT of them.

 

I **bleep** canned Magento and migrated to Shopify. Life is so much less stress. Much less overhead costs. ...and I actually get help on their forums.

 

Magento is great if you're a developer and have tons of programming and linux experience....but in the long run, for me, it took me 8 years of using magento and lots of sleepless nights to realize Magento isnt for me. Took me a few days to migrate everything over, but Shopify is running more smooth, less buggy and quicker than Magento ever did for me.

View solution in original post

7 REPLIES 7

Re: Upgrade 2.2.6 to 2.3.1 - Framework Error with "sashas/bug-from-email"

Hi @Goad 

Take a full backup of code and database before upgrade. 

Try once the following commands in the sequence,  

rm -rf var/cache/* var/page_cache/* var/generation/*
sudo chmod -R 0777 var/ pub/ generated/
php bin/magento deploy:mode:set developer
php bin/magento cache:disable
php bin/magento maintenance:enable
composer require magento/product-community-edition 2.3.0 --no-update
composer update
rm -rf var/cache/* var/page_cache/* var/generation/*
sudo chmod -R 0777 var/ pub/ generated/
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento cache:enable
php bin/magento maintenance:disable
php bin/magento indexer:reindex && php bin/magento cache:clean && php bin/magento cache:flush

I Hope it will help you!

 

Re: Upgrade 2.2.6 to 2.3.1 - Framework Error with "sashas/bug-from-email"

When I run this...

 

php bin/magento deploy:mode:set developer

I get this...

 

Deprecated Functionality: The each() function is deprecated. This message will be suppressed on further calls in /var/www/vhosts/[magento root]/vendor/colinmollenhour/cache-backend-file/File.php on line 81

gunna ignore it and continue on...

Re: Upgrade 2.2.6 to 2.3.1 - Framework Error with "sashas/bug-from-email"

The above error was caused due to using PHP 7.2.18. I got the error again when I disabled cache, so I changed to PHP 7.1.29 and both commands worked properly.

 

...Just documenting in case anyone else happens to stumble across this thread. Smiley Happy

Re: Upgrade 2.2.6 to 2.3.1 - Framework Error with "sashas/bug-from-email"

@Vimal Kumar 

 

When I run composer update....

 

-bash-4.2$ composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - sashas/bug-from-email 2.0.7 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6|~7.1.0 -> your PHP version (7.2.18) does not satisfy that requirement.
    - sashas/bug-from-email 2.0.6 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6|~7.1.0 -> your PHP version (7.2.18) does not satisfy that requirement.
    - sashas/bug-from-email 2.0.5 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6|~7.1.0 -> your PHP version (7.2.18) does not satisfy that requirement.
    - sashas/bug-from-email 2.0.4 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6|~7.1.0 -> your PHP version (7.2.18) does not satisfy that requirement.
    - sashas/bug-from-email 2.0.3 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6|~7.1.0 -> your PHP version (7.2.18) does not satisfy that requirement.
    - sashas/bug-from-email 2.0.1 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6|~7.1.0 -> your PHP version (7.2.18) does not satisfy that requirement.
    - sashas/bug-from-email 2.0.0 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6|~7.1.0 -> your PHP version (7.2.18) does not satisfy that requirement.
    - sashas/bug-from-email 2.0.5 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6|~7.1.0 -> your PHP version (7.2.18) does not satisfy that requirement.
    - Installation request for sashas/bug-from-email ^2.0 -> satisfiable by sashas/bug-from-email[2.0.0, 2.0.1, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.7].

-bash-4.2$

so then I tried composer update --ignore-platform-reqs

-bash-4.2$ composer update --ignore-platform-reqs
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - sashas/bug-from-email 2.0.5 requires magento/framework 101.0.4|101.0.5|101.0.6 -> satisfiable by magento/framework[101.0.6, 101.0.4, 101.0.5].
    - sashas/bug-from-email 2.0.5 requires magento/framework 101.0.4|101.0.5|101.0.6 -> satisfiable by magento/framework[101.0.6, 101.0.4, 101.0.5].
    - sashas/bug-from-email 2.0.6 requires magento/framework 101.0.4|101.0.5|101.0.6|101.0.7 -> satisfiable by magento/framework[101.0.6, 101.0.4, 101.0.5, 101.0.7].
    - sashas/bug-from-email 2.0.7 requires magento/framework 101.0.4|101.0.5|101.0.6|101.0.7|101.0.8 -> satisfiable by magento/framework[101.0.6, 101.0.4, 101.0.5, 101.0.7, 101.0.8].
    - sashas/bug-from-email 2.0.0 requires magento/framework 101.0.4 -> satisfiable by magento/framework[101.0.4].
    - sashas/bug-from-email 2.0.1 requires magento/framework 101.0.4 -> satisfiable by magento/framework[101.0.4].
    - sashas/bug-from-email 2.0.3 requires magento/framework 101.0.4|101.0.5 -> satisfiable by magento/framework[101.0.4, 101.0.5].
    - sashas/bug-from-email 2.0.4 requires magento/framework 101.0.4|101.0.5 -> satisfiable by magento/framework[101.0.4, 101.0.5].
    - Can only install one of: magento/framework[102.0.0, 101.0.6].
    - Can only install one of: magento/framework[102.0.0, 101.0.4].
    - Can only install one of: magento/framework[102.0.0, 101.0.5].
    - Can only install one of: magento/framework[102.0.0, 101.0.6].
    - Can only install one of: magento/framework[102.0.0, 101.0.7].
    - Can only install one of: magento/framework[101.0.8, 102.0.0].
    - magento/product-community-edition 2.3.0 requires magento/framework 102.0.0 -> satisfiable by magento/framework[102.0.0].
    - Installation request for magento/product-community-edition 2.3.0 -> satisfiable by magento/product-community-edition[2.3.0].
    - Installation request for sashas/bug-from-email ^2.0 -> satisfiable by sashas/bug-from-email[2.0.0, 2.0.1, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.7].

-bash-4.2$

Same issue as I ran into before Smiley Sad

 

Re: Upgrade 2.2.6 to 2.3.1 - Framework Error with "sashas/bug-from-email"

If no one here has any idea whats causing my issue, can someone please direct me to somewhere/someone who can help me?

Re: Upgrade 2.2.6 to 2.3.1 - Framework Error with "sashas/bug-from-email"

Pretty desperate here...

Re: Upgrade 2.2.6 to 2.3.1 - Framework Error with "sashas/bug-from-email"

I finally found the fix to ALL of my magento headaches...and I had A LOT of them.

 

I **bleep** canned Magento and migrated to Shopify. Life is so much less stress. Much less overhead costs. ...and I actually get help on their forums.

 

Magento is great if you're a developer and have tons of programming and linux experience....but in the long run, for me, it took me 8 years of using magento and lots of sleepless nights to realize Magento isnt for me. Took me a few days to migrate everything over, but Shopify is running more smooth, less buggy and quicker than Magento ever did for me.