Page 1 of 1

White page error on site home page after plugin installation.

Posted: Tue Oct 08, 2024 9:25 pm
by aynadaki
When I upload a (any) plugin to the website, I get the following error. The admin panel works but the site home page is blank.
PHP Notice: Error: Could not load template so-emarket/template/common/footer! in /.../storage/modification/system/library/template/twig.php on line 41
Line 41 is as follows:
trigger_error('Error: Could not load template ' . $filename . '!');
How can I fix it?

Ps: Opencart 3.0.4.0 Php 7.4

Re: White page error on site home page after plugin installation.

Posted: Tue Oct 08, 2024 9:58 pm
by JNeuhoff
This template, if it is from https://www.opencart.com/index.php?rout ... n_id=45121, doesn't even support OpenCart 3.0.4.0.

Also, you have another extension which modifies the system/library/template/twig.php , why?

Hence we suggest you provide some more details (see forum rules) if you want help here.

Re: White page error on site home page after plugin installation.

Posted: Tue Oct 08, 2024 10:04 pm
by aynadaki
I bought the template, e-market theme, from envato. Actually, I didn't add any fixes to the theme, I just wanted to add a payment method plugin. I didn't make any edits to the theme. When I restored the site data, the problem was fixed, but it was a temporary fix.

Re: White page error on site home page after plugin installation.

Posted: Wed Oct 09, 2024 6:17 pm
by paulfeakins
A "white page error" almost always means an error has been written to your logs, you can find them here: https://www.antropy.co.uk/blog/opencart ... locations/