- Posts: 7
- Thank you received: 1
compat.php error fix
- MOLEDesign
- Topic Author
- Offline
- New Member
Less
More
1 month 1 week ago #169198
by MOLEDesign
compat.php error fix was created by MOLEDesign
Just a quick tip. I installed the quickstart for EShop on Joomla5 and the site refused to load with error 500 in the front end and the following error (in admin)
missing class is declared in the file plugins/behaviour/compat/src/Extension/Compat.php
Locate the file administrator/cache/autoload_psr4.php and delete it. Access Joomla 4 again and the file will get recreated automatically. This file is a map to all PHP classes Joomla uses and it is created and maintained automatically.
This will fix your issues
missing class is declared in the file plugins/behaviour/compat/src/Extension/Compat.php
Locate the file administrator/cache/autoload_psr4.php and delete it. Access Joomla 4 again and the file will get recreated automatically. This file is a map to all PHP classes Joomla uses and it is created and maintained automatically.
This will fix your issues
The following user(s) said Thank You: Giang Dinh Truong
Please Log in or Create an account to join the conversation.
- Giang Dinh Truong
- Offline
- Administrator
1 month 5 days ago #169227
by Giang Dinh Truong
Replied by Giang Dinh Truong on topic compat.php error fix
Hello,
Yes, that's it. Thank you for sharing the solution.
Sincerely, Giang
Yes, that's it. Thank you for sharing the solution.
Sincerely, Giang
Please Log in or Create an account to join the conversation.
Moderators: Giang Dinh Truong
Support
Documentation
Information
Copyright © 2024 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.