Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
Version 7 went up to version 7.9.x before it was time to upgrade to version 8, and the upgrade to 8 went smoothly. Version 8 went up to version 8.9.x before it was time to upgrade to version 9, and the upgrade to 9 went smoothly. Will version 9 go up to version 9.9.x? Currently if you try to upgrade from version 9.5 to version 10, you will get dependency errors and I could not upgrade to version 10.
See https://www.drupal.org/SA-CORE-2013-003 for information about the recommended .htaccess file which should be added to the temporary:// directory to help protect against arbitrary code execution.
But this error is not for Drupal 10.1.2, but for Drupal 6 and Drupal 7.
I have made a simple module with a form and a block that imports this form.
On localhost everything works just fine. BUT when I uploaded it to live host suddenly I am getting this error that the form class is not found.
InvalidArgumentException: The form class Drupal\blockbbb\Form\blockbbbForm could not be found or loaded. in Drupal\Core\Form\FormBuilder->getFormId() (line 199 of /xxxxxxxxxxxxxxx/httpd.www/core/lib/Drupal/Core/Form/FormBuilder.php)