Please disregard the 'View article...' shown at the bottom of many posts as this is the result of restoring old forum posts from a backup.
Error on upgrading to 2.4.2
I manage several sites that use Exponent. Only one of them is maintained with Git. On that site when I get to the database upgrade step, I get this error: Fatal error: cannot declare class order, because the name is already in use in /framework/modules/ecommerce/models/order.php on line 0.
I am able to continue setup by changing the URL from upgrade-3 to upgrade-4. This site has been getting stuck on step 3 for the last few versions but this is the first time I actually got an error message.
I am able to continue setup by changing the URL from upgrade-3 to upgrade-4. This site has been getting stuck on step 3 for the last few versions but this is the first time I actually got an error message.
Comments
I do not believe that I should remove either file?
I don't know if you have more data from the fatal error...the 'already in use' is the correct 'order' class, so it might be interesting to see what new 'order' class is trying to be instantiated.
Cannot declare class order, because the name is already in use in /home/plasma_admin/buyplasmaparts.com/framework/modules/ecommerce/models/orderCOPY.php on line 0
That file was from 2016, I vaguely recall making the copy, but haven't needed it so I deleted it. The next time this site has an update, I will see if the errors go away.