Page 1 of 1

Notice: Array to string conversion in /system/library/template/Twig/Environment.php(403)

Posted: Sun Sep 06, 2020 1:21 pm
by wackmofo
Hi,

I am looking for someone, who will fix this issues that appears in my OC 3.0.3.2 with Wokiee theme.

The error log:

Code: Select all

2020-09-05 5:12:38 - PHP Notice:  Array to string conversion in /home/***/public_html/system/library/template/Twig/Environment.php(403) : eval()'d code on line 30
2020-09-05 5:12:38 - PHP Notice:  Array to string conversion in /home/***/public_html/system/library/template/Twig/Environment.php(403) : eval()'d code on line 30
2020-09-05 5:12:38 - PHP Notice:  Array to string conversion in /home/***/public_html/system/library/template/Twig/Environment.php(403) : eval()'d code on line 30
2020-09-05 5:12:38 - PHP Unknown:  Object of class Request could not be converted to string in /home/***/public_html/system/library/template/Twig/Environment.php(403) : eval()'d code on line 30
2020-09-05 5:12:38 - PHP Unknown:  Object of class Cart\Customer could not be converted to string in /home/***/public_html/system/library/template/Twig/Environment.php(403) : eval()'d code on line 30
2020-09-05 5:12:38 - PHP Unknown:  Object of class Cart\Cart could not be converted to string in /home/***/public_html/system/library/template/Twig/Environment.php(403) : eval()'d code on line 30
The problem is, I wanted to use an if statement in my template and when I listed all the keys on the frontend, these were the errors:

Code: Select all

document_links - Notice: Array to string conversion in /home/***/public_html/system/library/template/Twig/Environment.php(403) : eval()'d code on line 61Array
document_styles - Notice: Array to string conversion in /home/***/public_html/system/library/template/Twig/Environment.php(403) : eval()'d code on line 61Array
document_scripts - Notice: Array to string conversion in /home/***/public_html/system/library/template/Twig/Environment.php(403) : eval()'d code on line 61Array
route - Unknown: Object of class Request could not be converted to string in /home/***/public_html/system/library/template/Twig/Environment.php(403) : eval()'d code on line 61
customer - Unknown: Object of class Cart\Customer could not be converted to string in /home/***/public_html/system/library/template/Twig/Environment.php(403) : eval()'d code on line 61

Re: Notice: Array to string conversion in /system/library/template/Twig/Environment.php(403)

Posted: Sun Sep 06, 2020 3:59 pm
by thekrotek
I can look into this. Send me an email or message in Skype and we'll discuss the details.

Re: Notice: Array to string conversion in /system/library/template/Twig/Environment.php(403)

Posted: Sun Sep 06, 2020 10:18 pm
by Carter W11
Hello There,

I hope you're doing great!

I would be happy to work with you. Please give me a suitable time to discuss your requirements.

Also, add me over Skype id- live:carter_1594 or Email- carter@cisinlabs.com

I look forward to your response!

Thank you and stay safe :)

Very Best Regards
Carter W

Re: Notice: Array to string conversion in /system/library/template/Twig/Environment.php(403)

Posted: Mon Sep 07, 2020 1:07 am
by deepvyas
Hi ,
I can look into the issue shared
Please contact - deepvyas71@gmail.com

Regards
Deep

Re: Notice: Array to string conversion in /system/library/template/Twig/Environment.php(403)

Posted: Mon Sep 07, 2020 1:41 pm
by cedcommerceteam
Hello there,

Hope you are doing well.

We can resolve the issues, please let us know if we can discuss it in person.

Thanks!!!

Re: Notice: Array to string conversion in /system/library/template/Twig/Environment.php(403)

Posted: Mon Sep 07, 2020 3:33 pm
by shivankagrawal
Hello,
Greetings! I have relevant experience in an Opencart and ready to help you.
Or you can email me at: info@elderberrytech.com to discuss further.

Thanks,
Shivank Agrawal
Skype: mayank.agrawal2008
http://elderberrytech.com/