Schlinker Posted February 22 Share Posted February 22 Hi there, we have recently changed our hosting service and after this change, an error message shows up consistently, it says Quote Warning on line 55 in file /data/sites/web/secondgategamescom/www/SGGShop/modules/jxmanufacturerblock/src/JXManufacturersPresenter.php [2] count(): Parameter must be an array or an object that implements Countable I have accessed the file but since I am not a programmer, I don't understand the code or how to fix the error message. I am sure it is fairly simple thing, maybe just a typo, but would need a pointer to implement the fix. I tried changing the == to = (kitchen logic, no programming background) but that didn't solve anything I attach screen shots of the error message and of the code in the PHP file. Link to comment Share on other sites More sharing options...
Prestashop Addict Posted February 22 Share Posted February 22 This is just a warning not a fatal error, change error level in php.ini or ask the author of this module to fix it. 1 Link to comment Share on other sites More sharing options...
Schlinker Posted February 22 Author Share Posted February 22 12 minutes ago, Prestashop Addict said: This is just a warning not a fatal error, change error level in php.ini or ask the author of this module to fix it. Thank you! Knowing that this i just a warning is good to know. I would love to follow your advice, however, being a noob I neither know how to "change the error level in php.ini" nor where to find the information of who the author of this module is. Could you help me with directions? THANKS once more. Link to comment Share on other sites More sharing options...
Prestashop Addict Posted February 22 Share Posted February 22 Changing php configuration depends on hosting. Are you on a dedicated server, shared server,do you have access to hosting parameters (Cpanel, Webmin...)? Link to comment Share on other sites More sharing options...
Schlinker Posted February 22 Author Share Posted February 22 51 minutes ago, Prestashop Addict said: Changing php configuration depends on hosting. Are you on a dedicated server, shared server,do you have access to hosting parameters (Cpanel, Webmin...)? We get our domain and hosting from a company called nominalia, I doubt we have a dedicated server. Yes, I have access to Cpanel, but wouldn't know where to change parameters there. The Cpanel looks like this: Link to comment Share on other sites More sharing options...
Prestashop Addict Posted February 22 Share Posted February 22 https://chemicloud.com/kb/article/how-to-edit-the-php-ini-file-cpanel/ will help you 1 Link to comment Share on other sites More sharing options...
Schlinker Posted February 22 Author Share Posted February 22 Thank you once more. So I found the place where I can change parameters. I don't see a place where "error level" could be adjusted, or is it the one that says error_reporting? That's set to E_ALL, not sure what ~E_ALL would do. Link to comment Share on other sites More sharing options...
Prestashop Addict Posted February 22 Share Posted February 22 In production server it's recommended to not display and it's not activated, so you normally shouldn't see. Are you in debug mode in PS? If so turn it off. 1 Link to comment Share on other sites More sharing options...
Schlinker Posted February 22 Author Share Posted February 22 1 minute ago, Prestashop Addict said: In production server it's recommended to not display and it's not activated, so you normally shouldn't see. Are you in debug mode in PS? If so turn it off. That was it!!!!! Thank you so much! Link to comment Share on other sites More sharing options...
Prestashop Addict Posted February 22 Share Posted February 22 You're welcome, don't forget to change title to [SOLVED], and appreciate a like to solution answer 😉 1 Link to comment Share on other sites More sharing options...
Schlinker Posted February 22 Author Share Posted February 22 😁 and how do I change the title of the thread? I can see an "add tag" button, but the title seems non-editable... Link to comment Share on other sites More sharing options...
Prestashop Addict Posted February 22 Share Posted February 22 Click on title and let the mouse button pressed wait few seconds 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