Post by aynadaki » Tue Oct 08, 2024 9:25 pm

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

Newbie

Posts

Joined
Thu Jan 11, 2018 2:47 pm

Post by JNeuhoff » Tue Oct 08, 2024 9:58 pm

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.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by aynadaki » Tue Oct 08, 2024 10:04 pm

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.

Newbie

Posts

Joined
Thu Jan 11, 2018 2:47 pm

Post by paulfeakins » Wed Oct 09, 2024 6:17 pm

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/

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom
Who is online

Users browsing this forum: Semrush [Bot] and 32 guests