Fatal Error In Datafeed Export After Upgrading To 4.3.1

Hi all,



After upgrading to 4.3.1, a fatal error occured in the datafeed export:


[quote]mod_fcgid: stderr: PHP Fatal error: Unsupported operand types in /var/www/vhosts/test.shop4.nl/httpdocs/app/Tygh/Database.php on line 632[/quote]



We resolved this by modifying the following in app/Tygh/Database.php:



624 /**
625 * Convert variable to int/longint type
626 *
627 * @param mixed $int variable to convert
628 * @return mixed int/intval variable
629 */
630 private static function _intVal($int)
631 {
632 // return $int + 0; // OLD
633 return intval($int); // NEW
634 }




Now it seems to work just fine. Did anyone else have this problem, and if so, is there any other solution to it? Thanks in advance.

Hi - I had this problem and your fix sorted it out for me.



Thanks!

[quote name='ChrisWilson' timestamp='1433766743' post='217821']

Hi - I had this problem and your fix sorted it out for me.



Thanks!

[/quote]



Thanks for your reply. You're welcome!