Skip Navigation

[Resolved] Upgrade command not found

This support ticket is created 2 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 7 replies, has 2 voices.

Last updated by Minesh 2 years, 4 months ago.

Assisted by: Minesh.

Author
Posts
#2583527
Screenshot 2023-03-30 at 13.05.30.png
Screenshot 2023-03-30 at 13.07.35.png

In the backend we got the error: Upgrade command not found

In short:
This issue is caused by the server being case sensitive and the autoload_classmap of toolset being incorrectly generated (case insensitive).

Fix:
When we debugged we could see that it could not find anything in the command:
/inc/autoloaded/upgrade/Command/Setup/FontAwesomeVersion.php
The file is there but the command folder is without a capital "C" !
So the folder is: command
But the autoload contains: Command

After we updated the autoload_classmap.php, changing all the "Command" to "command, the error was gone.
web/app/plugins/types-access/vendor/toolset/toolset-common/autoload_classmap.php

See attached screenshots

Please resolve this issue by correctly generating the autoload_classmap.php.

Thanks in advance.

#2583555

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

First of all, I would like to know your current setup.

Could you please send me debug information that will help us to investigate your issue.
=> https://toolset.com/faq/provide-debug-information-faster-support/

#2583967

Submitted debug information

#2583977

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I see you are using PHP version 8.1.x. Toolset is not fully compatible with PHP 8.1.x as of now.

We already added note about that with our requirement Doc:
- https://toolset.com/toolset-requirements/

Important notes:

- PHP 8.1 is currently not supported due to some issues. We’re working on fixing this. In the meantime, please use PHP 8.0 version.
- While Toolset works with PHP 5.6+ and MySQL 5.6+, they reached the official End Of Life, and are not recommended for security and performance reasons.

Would you mind to downgrade the PHP version to PHP 8.0.X for now.

#2585791

Are you even reading my support ticket ??
This seems like an AUTO reply to my ticket...

I'm reporting an issue and I am Giving you a solution in the Same ticket!

What more do you need?

#2585793

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I already read your ticket and I replied you based on the current PHP version you are using just to let you know that PHP 8.1 is not fully compatible with Toolset as of now but our Devs will work on this in order to make it compatible and do needful to fix this issue.

I know you shared your workaround by changing the capital "C" to small "c" for "Command":

So the folder is: command
But the autoload contains: Command

After we updated the autoload_classmap.php, changing all the "Command" to "command, the error was gone.

So our devs will take care of this issue when working on PHP 8.1 compatibility sprint.

I asked you to downgrade to PHP 8.0.x as to have other possible issues with PHP 8.1 version and yes, thank you for sharing the fix you shared but our Devs will review and do needful.

#2585973

When can we expect this 8.1 support release?
PHP 8.0 already has no active support since 26 Nov 2022 and will be end of life in 7 months (26 Nov 2023).

#2586443

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

When can we expect this 8.1 support release?
==>
We already released improved version last week. Have you tried using the latest Toolset Access plugin?
- https://toolset.com/download/toolset-access/#changelog