Once the order has been processed, an error pops up above the "order confirmed" message. Please note this website is in a subfolder on the website as I am making it to replace the current website.
This is the error I'm getting -
Warning: array_push() expects parameter 1 to be array, null given in /var/www/vhosts/pizzacaldo.co.uk/httpdocs/newjoomla/libraries/tcpdf/tcpdf.php on line 17047 Warning: array_push() expects parameter 1 to be array, null given in /var/www/vhosts/pizzacaldo.co.uk/httpdocs/newjoomla/libraries/tcpdf/tcpdf.php on line 17047 Warning: array_push() expects parameter 1 to be array, null given in /var/www/vhosts/pizzacaldo.co.uk/httpdocs/newjoomla/libraries/tcpdf/tcpdf.php on line 17047 Warning: array_push() expects parameter 1 to be array, null given in /var/www/vhosts/pizzacaldo.co.uk/httpdocs/newjoomla/libraries/tcpdf/tcpdf.php on line 17047 Warning: array_push() expects parameter 1 to be array, null given in /var/www/vhosts/pizzacaldo.co.uk/httpdocs/newjoomla/libraries/tcpdf/tcpdf.php on line 17047
Anyone understand or seen this before? Thanks.
Its from the pdf invoice generation..
some value in an array that is passed is missing .. but it is ONLY a warning -
in other words you have your reporting set too high for a production site
Ok so how can I fix this? Don't think I have changed anything to do with the reporting
there are plenty of posts on here about error reporting -- some by me -- search..
Thats not any help
FFS! Try http://bit.ly/1RQ6YoC
Someone sent me a message to turn off error reporting in the server tab of Joomla 2.5 global configuration, but that doesn't work
jim
you need to turn down the reporting of php on your hosting server
http://php.net/manual/en/function.error-reporting.php (http://php.net/manual/en/function.error-reporting.php)
I don't see how to turn it off on that link. Where would I need to enter the code to turn it off?
Jim
I would contact your hosting company as there are many options to achieve this that may or may not be supported by your hosting setup
We have our own server.
On our server using Plesk 12.0.18 (PHP level is 5.3.3) I have found the php settings for the domain.
There is a section called "error_reporting" which is currently set to default. You can choose options such as "~E_ALL" , "~E_ALL & NOTICE" and "E_ALL". You can also set a custom value.
Am I looking at the right bit? If so do you know what I should do?
Got it to work - you have to put 0 in the custom value bit.
Glad you found it
Did not realise you had your own server