BeeJayF Posted September 16, 2022 Share Posted September 16, 2022 (edited) Hello all, I can't find a way to keep the following error from appearing in the server logs on practically all interactions with our shop: [...] [fcgid:warn] [pid ...] [client xx.xx.xx.xx:xxx] mod_fcgid: stderr: PHP Fatal error: Uncaught --> Smarty: 0():Missing '$template' parameter <-- , referer: https://*MYSHOP*.de/de/Bestellung [...] [fcgid:warn] [pid ...] [client xx.xx.xx.xx:xxx] mod_fcgid: stderr: thrown in /[...]/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php on line 177, referer: https://*MYSHOP*.de/de/Bestellung The shop is running - all functions appear to work but the performance is not good - I assume because of this error. How can I track down to root cause - is it a module causing this or the core? Thanks for your hints. BJ Edited September 16, 2022 by BeeJayF (see edit history) Link to comment Share on other sites More sharing options...
Nickz Posted September 16, 2022 Share Posted September 16, 2022 1 hour ago, BeeJayF said: Thanks for your hints. more details needed, when did that happen, what was done, any updates, shop version,server move etc.. Link to comment Share on other sites More sharing options...
BeeJayF Posted September 17, 2022 Author Share Posted September 17, 2022 12 hours ago, Nickz said: more details needed, when did that happen, what was done, any updates, shop version,server move etc.. Since the shop still works I can't say when this started and what was done right before. Link to comment Share on other sites More sharing options...
Nickz Posted September 18, 2022 Share Posted September 18, 2022 On 9/17/2022 at 5:19 AM, BeeJayF said: Since the shop still works I can't say when this started and what was done right before. In other words you do not monitor your shop? Don't have data on what people did? In your business? Do you have at least a back up? Link to comment Share on other sites More sharing options...
BeeJayF Posted September 18, 2022 Author Share Posted September 18, 2022 5 hours ago, Nickz said: In other words you do not monitor your shop? Don't have data on what people did? In your business? Do you have at least a back up? Okay now we are arguing how often one has to check logs even if shop functionality is there. Thanks for the lecture. Any ideas on the original question how to track down the root cause of this error log? Link to comment Share on other sites More sharing options...
Nickz Posted September 18, 2022 Share Posted September 18, 2022 without details? Hard to tell Link to comment Share on other sites More sharing options...
BeeJayF Posted September 19, 2022 Author Share Posted September 19, 2022 that's exactly my question - how can I get (you) more details. I tried increasing the log level and got the following entries around the original error: [Sun Sep 18 20:29:24.338199 2022] [fcgid:warn] [pid 9913] [client some IP:port] mod_fcgid: stderr: PHP Warning: Zend OPcache can't be temporary enabled (it may be only disabled till the end of request) in Unknown on line 0, referer: https://myshop.de/de/someproduct [Sun Sep 18 20:29:24.338213 2022] [fcgid:warn] [pid 9913] [client some IP:port] mod_fcgid: stderr: PHP Fatal error: Uncaught --> Smarty: 0():Missing '$template' parameter <-- , referer: https://myshop.de/de/someproduct [Sun Sep 18 20:29:24.338216 2022] [fcgid:warn] [pid 9913] [client some IP:port] mod_fcgid: stderr: thrown in /somefolder/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php on line 177, referer: https://myshop.de/de/someproduct [Sun Sep 18 20:29:24.608608 2022] [fcgid:warn] [pid 9950] [client some other IP:port2] mod_fcgid: stderr: PHP Warning: Zend OPcache can't be temporary enabled (it may be only disabled till the end of request) in Unknown on line 0 [Sun Sep 18 20:29:24.608624 2022] [fcgid:warn] [pid 9950] [client some other IP:port2] mod_fcgid: stderr: PHP Notice: Trying to get property 'id' of non-object in /somefolder/modules/performancepro/src/domain/service/cache/HTTPCache.php on line 120 So I am investigating towards the module in the last line - but that might be just a coincidence / or caused by the same root cause. I am chasing straws right now. Link to comment Share on other sites More sharing options...
Nickz Posted September 19, 2022 Share Posted September 19, 2022 3 hours ago, BeeJayF said: that's exactly my question - how can I get (you) more details. theme. PS Version, PHP Version, all dependencies satisfied. Recent updates those kind of details are needed. Link to comment Share on other sites More sharing options...
BeeJayF Posted September 19, 2022 Author Share Posted September 19, 2022 3 hours ago, Nickz said: theme. PS Version, PHP Version, all dependencies satisfied. Recent updates those kind of details are needed. Theme: default with Creative Elements modifications - I tried to disable Creative Elements first - no change PS version: 1.7.8.7 PHP: 7.3.33 Required parameters: OK Optional parameters: OK I keep all modules updated but no recent additions or deeper changes were made (I know that's less than optimal - I started a journal for all modifications just now.) - according to the log the error started more than two PS updates before. Link to comment Share on other sites More sharing options...
Nickz Posted September 20, 2022 Share Posted September 20, 2022 20 hours ago, BeeJayF said: Theme: default with Creative Elements modifications - I tried to disable Creative Elements first - no change PS version: 1.7.8.7 PHP: 7.3.33 Required parameters: OK Optional parameters: OK Sweet, all you modules work faultlessly under php7.3? Link to comment Share on other sites More sharing options...
musicmaster Posted September 20, 2022 Share Posted September 20, 2022 Did you see this? Link to comment Share on other sites More sharing options...
BeeJayF Posted September 20, 2022 Author Share Posted September 20, 2022 41 minutes ago, musicmaster said: Did you see this? Yes - but not the yesterday's additions - Thanks! Not the solution yet but things are unravelling still. Link to comment Share on other sites More sharing options...
BeeJayF Posted September 20, 2022 Author Share Posted September 20, 2022 5 hours ago, Nickz said: Sweet, all you modules work faultlessly under php7.3? Well - no 😉 Didn't think PHP 7.4.x could be a solution - I have to pressure my provider to get things in order (managed server - currently the 7.4 comes without zip...) What are the chances that this IS the solution? Thx! Link to comment Share on other sites More sharing options...
Nickz Posted September 20, 2022 Share Posted September 20, 2022 36 minutes ago, BeeJayF said: What are the chances that this IS the solution? if your hoster won't go lower move to a VPS. There you can install what you want. Link to comment Share on other sites More sharing options...
Webo.Agency Posted September 23, 2022 Share Posted September 23, 2022 (edited) On 9/20/2022 at 7:33 PM, BeeJayF said: Yes - but not the yesterday's additions - Thanks! Not the solution yet but things are unravelling still. This is for old modules Thx ! On 9/20/2022 at 7:36 PM, BeeJayF said: Well - no 😉 Didn't think PHP 7.4.x could be a solution - I have to pressure my provider to get things in order (managed server - currently the 7.4 comes without zip...) What are the chances that this IS the solution? Thx! Pleas check compatibility: https://devdocs.prestashop-project.org/1.7/basics/installation/system-requirements/#php-compatibility-chart Your hosting provider PHP (v7.3) version isn't recommended with Prestashop (1.7.8 specific) and thus can be some issues (not like isn't working but there are bugs that's fixed in never version). Edited September 23, 2022 by Webo.Agency (see edit history) Link to comment Share on other sites More sharing options...
Nickz Posted September 23, 2022 Share Posted September 23, 2022 3 hours ago, Webo.Agency said: Your hosting provider PHP (v7.3) version isn't recommended with Prestashop (1.7.8 specific) and thus can be some issues (not like isn't working but there are bugs that's fixed in never version). that only works if his modules are up for php7.4 1 Link to comment Share on other sites More sharing options...
AKH Posted March 10 Share Posted March 10 Hi This is an analog problem PHP Fatal error: Uncaught --> Smarty: 0():Missing '$template' parameter <-- thrown in /home/dataways/datawaysecurity.com/www/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php on line 177 How is correct a mistake? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now