Assistance with creating a child Classic Theme

Hey Guys, I’m having trouble figuring out how to implement a running child theme for the Classic theme. I followed the steps outlined in the following forum: “Child Theme for Classic, modifyStyle addLess function only working for one less-file [OJS 3.2.1.1] - #6 by adm_sub
Despite all this, I still find myself running into errors when attempting to copy the plugin folder to my theme folder. The plugin gallery just loads indefinitely and doesn’t show anything as seen below:

Below is my ClassicChildThemePlugin.php file

and this is my index.php file
image

Kindly let me know if there is something that I am doing wrong.

I am currently using OJS 3.3.0-5. I cannot update OJS because the server that the files are being hosted on runs on an outdated version of PHP 7.3.33-5

I would really appreciate any help on this matter! Thank you.

Hi @desire,

Check your PHP error log for details – but at a glance I think you may have named your plug-in class wrong. In the index wrapper you use a .inc.php suffix in the call to require_once, but it appears you’ve named the file with a .php suffix. The two must match.

Regards,
Alec Smecher
Public Knowledge Project Team