Advertisement

0 Class "JPlugin" not found

General questions relating to Joomla! 5.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
adriaanorg
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Mon Nov 18, 2024 10:54 am

0 Class "JPlugin" not found

Post by adriaanorg » Mon Nov 18, 2024 11:08 am

Hi,

I am quite new to Joomla and I have been tasked with fixing up an existing site. This site has quite a few plugins and I have been disabling them and reenabling them to see which plugins was causing a "White screen" error. Now it seems I have locked myself out of the back-end and giving myself a "0 Class "JPlugin" not found" error.

My hosting company cannot do anything for me because it is a 3rd party app. I am running Joomla 5, PHP 8.3. And the site has been entirely built with plugins and templates.

I know the information I am providing is lack luster, but as I mentioned I am quite new and eager to learn.

Would someone please be able to point me in the right direction.

Advertisement
User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 31512
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: 0 Class "JPlugin" not found

Post by Per Yngve Berg » Mon Nov 18, 2024 1:59 pm

Use phpmyadmin (Should be available by your host) to access the Database. The Extensions table have a column "Enabled" that is either 0 or 1.

adriaanorg
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Mon Nov 18, 2024 10:54 am

Re: 0 Class "JPlugin" not found

Post by adriaanorg » Mon Dec 02, 2024 12:21 pm

Per Yngve Berg wrote: Mon Nov 18, 2024 1:59 pm Use phpmyadmin (Should be available by your host) to access the Database. The Extensions table have a column "Enabled" that is either 0 or 1.
Hi, thank you for this reply. My host has restored to a snapshot to when it was still Joomla 3, and now I am with another error reading

"Error
The template for this display is not available."

+

"Warning
JAuthentication: :__construct: Could not load authentication libraries."

gws
Joomla! Champion
Joomla! Champion
Posts: 6531
Joined: Tue Aug 23, 2005 1:56 pm
Location: South coast, UK
Contact:

Re: 0 Class "JPlugin" not found

Post by gws » Mon Dec 02, 2024 12:28 pm

The FPA would be useful. See the red box at the top of the forum,read docs first.

adriaanorg
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Mon Nov 18, 2024 10:54 am

Re: 0 Class "JPlugin" not found

Post by adriaanorg » Mon Dec 02, 2024 12:32 pm

I meant to add that I am getting these errors in the "log in" screen, so I am essentially locked out of the Joomla Admin Panel

adriaanorg
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Mon Nov 18, 2024 10:54 am

Re: 0 Class "JPlugin" not found

Post by adriaanorg » Mon Dec 02, 2024 12:44 pm

gws wrote: Mon Dec 02, 2024 12:28 pm The FPA would be useful. See the red box at the top of the forum,read docs first.
Thank you, I will follow the steps in the FPA :).

adriaanorg
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Mon Nov 18, 2024 10:54 am

Re: 0 Class "JPlugin" not found

Post by adriaanorg » Tue Dec 03, 2024 9:40 pm

gws wrote: Mon Dec 02, 2024 12:28 pm The FPA would be useful. See the red box at the top of the forum,read docs first.
Hi,

I have managed to gain access to the back-end. And there are several post installation messages that display errors. I have also read online that one should be able to manage extentions through PHPMyAdmin. But I do not see a "jos_extentions" table on the database.

These are the following messages I get on the admin panel.

COM_ADMIN_POSTINSTALL_MSG_HTACCESS_BROTLI_TITLE
Since version 4.4.4

COM_ADMIN_POSTINSTALL_MSG_HTACCESS_BROTLI_DESCRIPTION Hide this message
COM_ADMIN_POSTINSTALL_MSG_HTACCESS_SETCE_TITLE
Since version 4.2.9

COM_ADMIN_POSTINSTALL_MSG_HTACCESS_SETCE_DESCRIPTION Hide this message
COM_USERS_POSTINSTALL_MULTIFACTORAUTH_TITLE
Since version 4.2.0

COM_USERS_POSTINSTALL_MULTIFACTORAUTH_BODY COM_USERS_POSTINSTALL_MULTIFACTORAUTH_ACTION Hide this message
PLG_SYSTEM_HTTPHEADERS_POSTINSTALL_INTRODUCTION_TITLE
Since version 4.0.0

PLG_SYSTEM_HTTPHEADERS_POSTINSTALL_INTRODUCTION_BODY PLG_SYSTEM_HTTPHEADERS_POSTINSTALL_INTRODUCTION_ACTION Hide this message
.htaccess Update Concerning Directory Listings
Since version 3.9.22

Before 3.9.22 the default htaccess.txt file contained erroneous code meant for disabling directory listings. The security team recommends to manually apply the necessary changes to any existing .htaccess file, as this file can not be updated automatically.

The old code:

<IfModule autoindex>
IndexIgnore *
</IfModule>
The new code:

<IfModule mod_autoindex.c>
IndexIgnore *
</IfModule>
Hide this message
Additional XSS protection for the usage of SVG files
Since version 3.9.21

Since 3.9.21 Joomla is shipped with an additional security rule in the default htaccess.txt. This rule will protect users of svg files from potential Cross-Site-Scripting (XSS) vulnerabilities.
The security team recommends to manually apply the necessary changes to any existing .htaccess file, as this file can not be updated automatically.

Changes for .htaccess

<FilesMatch "\.svg$">
<IfModule mod_headers.c>
Header always set Content-Security-Policy "script-src 'none'"
</IfModule>
</FilesMatch>
Currently we are not aware of a method to conditionally configure this on IIS web servers, please contact your hosting provider for further assistance.

Hide this message
Updated Text Filter Recommendations
Since version 3.9.19

As part of our security team's review, we have made some changes to the default settings for the global text filters in a new Joomla installation. The default setting for the 'Public', 'Guest' and 'Registered' groups is now 'No HTML'. As these changes are only applied to new installations, we strongly recommend that you review these changes and update your site from: System -> Global Configuration -> Text Filters

I hope you can help me from here, and I am eager to learn about Joomla.

Regards :)

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17978
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: 0 Class "JPlugin" not found

Post by toivo » Tue Dec 03, 2024 10:04 pm

adriaanorg wrote: Mon Dec 02, 2024 12:21 pmMy host has restored to a snapshot to when it was still Joomla 3, and now I am with another error
When you mention "a snapshot", do you mean a full backup, consisting of the filesystem and the database? Restoring a full backup of an earlier version of Joomla can only be done into an empty folder and a new database. Any other method will generate unpredictable errors and is therefore unsupportable.

adriaanorg wrote: Tue Dec 03, 2024 9:40 pmI do not see a "jos_extentions" table on the database.
The name of the table is 'extensions'.

The table prefix 'jos' was used in very early versions of Joomla. Now each new installation of Joomla generates a random sequence of characters as the table prefix, for example 'fqxmr' or 'r27bv'.
Toivo Talikka, Global Moderator

User avatar
AMurray
Joomla! Master
Joomla! Master
Posts: 10431
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: 0 Class "JPlugin" not found

Post by AMurray » Tue Dec 03, 2024 10:10 pm

I don't see any mention of the table prefix "jos_" in your question.

The prefix "jos_" for database tables in Joomla hasn't been used for some time. You can specify your own custom prefix.

You can find the table prefix info in the configuration.php file. Open that file in your web host's file manager which will tell you the prefix for the database your joomla site is using. Then go to phpMyAdmin and go to that specific database.

You can do some basic management of extensions in phpMyAdmin (but it's not a routine thing). You can disable or enable them if you can't do so from Joomla's administrator.

For learning Joomla, start with https://docs.joomla.org, and post questions to the appropriate sub-category forums here.
Regards - A Murray
General Support Moderator

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17978
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: 0 Class "JPlugin" not found

Post by toivo » Tue Dec 03, 2024 10:29 pm

adriaanorg wrote: Mon Nov 18, 2024 11:08 amNow it seems I have locked myself out of the back-end and giving myself a "0 Class "JPlugin" not found" error.
One of the third party extensions is obsolete. It may still run, as long as the Joomla 5 plugin 'Behaviour - Backward Compatibility' is enabled.

If this error occurs after Joomla 5 has been restored into an empty folder and a new database schema and the backend displays a white screen, use phpMyAdmin to browse the database table _extensions and enable the Compatibility plugin by changing the column 'enabled' from 0 to 1.

If the above does not help and errors are still displayed, use the Edit function of the File Manager of your cPanle, provided by your host, to write-enable and edit the file configuration.php in the main Joomla folder and make the following changes:

Code: Select all

	public $debug = true;
	public $error_reporting = 'maximum';
Access the backend of Joomla and the error message and the subsequent PHP call stack will identify the script and the line number where the error occurs. Post those lines here for advice.
Toivo Talikka, Global Moderator

adriaanorg
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Mon Nov 18, 2024 10:54 am

Re: 0 Class "JPlugin" not found

Post by adriaanorg » Sun Dec 08, 2024 10:53 pm

AMurray wrote: Tue Dec 03, 2024 10:10 pm I don't see any mention of the table prefix "jos_" in your question.

The prefix "jos_" for database tables in Joomla hasn't been used for some time. You can specify your own custom prefix.

You can find the table prefix info in the configuration.php file. Open that file in your web host's file manager which will tell you the prefix for the database your joomla site is using. Then go to phpMyAdmin and go to that specific database.

You can do some basic management of extensions in phpMyAdmin (but it's not a routine thing). You can disable or enable them if you can't do so from Joomla's administrator.

I have found the extension table but it seems I cannot enable or disable any extension, in other words it is not giving me the field option, please see attached
PHPMyAdmin.jpg
Am I doing something wrong, because I am almost certain that disabled plugins are the reason behind my problems.
You do not have the required permissions to view the files attached to this post.

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17978
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: 0 Class "JPlugin" not found

Post by toivo » Sun Dec 08, 2024 11:36 pm

That is not the _extensions table at all. The name of the _extensions table is just tiswy7_extensions.
Toivo Talikka, Global Moderator

adriaanorg
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Mon Nov 18, 2024 10:54 am

Re: 0 Class "JPlugin" not found

Post by adriaanorg » Mon Dec 09, 2024 5:37 am

toivo wrote: Sun Dec 08, 2024 11:36 pm That is not the _extensions table at all. The name of the _extensions table is just tiswy7_extensions.
That is strange, because I see no table named "tiswy7_extensions"

I even used the filter, no luck.

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17978
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: 0 Class "JPlugin" not found

Post by toivo » Mon Dec 09, 2024 5:43 am

There are so many database tables starting with the letter a on the first page. Browse to the next page - at the top, next to the page number, click >.
Toivo Talikka, Global Moderator

adriaanorg
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Mon Nov 18, 2024 10:54 am

Re: 0 Class "JPlugin" not found

Post by adriaanorg » Mon Dec 09, 2024 8:41 am

toivo wrote: Mon Dec 09, 2024 5:43 am There are so many database tables starting with the letter a on the first page. Browse to the next page - at the top, next to the page number, click >.
Thank you for the reply, I have managed to find the extensions table with your advice, I have enabled the "0
com_templates" extentions, but I still see the template error.

Am I missing something?

Advertisement

Post Reply

Return to “General Questions/New to Joomla! 5.x”