[Bug 1781000] Re: php-tcpdf installs outdated code which breaks with " Deprecated: The each() function is deprecated." on PHP version 7.2.7-0ubuntu0.18.04.2
** Changed in: tcpdf (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1781000 Title: php-tcpdf installs outdated code which breaks with " Deprecated: The each() function is deprecated." on PHP version 7.2.7-0ubuntu0.18.04.2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/tcpdf/+bug/1781000/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1781000] Re: php-tcpdf installs outdated code which breaks with " Deprecated: The each() function is deprecated." on PHP version 7.2.7-0ubuntu0.18.04.2
** Changed in: tcpdf (Ubuntu) Status: New => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1781000 Title: php-tcpdf installs outdated code which breaks with " Deprecated: The each() function is deprecated." on PHP version 7.2.7-0ubuntu0.18.04.2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/tcpdf/+bug/1781000/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1781000] Re: php-tcpdf installs outdated code which breaks with " Deprecated: The each() function is deprecated." on PHP version 7.2.7-0ubuntu0.18.04.2
According to https://github.com/elibyy/tcpdf-laravel/issues/37 this might be as simple as editing /usr/share/php/tcpdf/tcpdf.pdf to replace every instance of: while (list($id, $name) = each($attr_array[1])) { with: foreach($attr_array[1] as $id => $name) { Nonetheless, it would be preferable that the distribution install up-to- date (or at least compatible) versions of all packages so that users don't need to make these sort of patches. ** Bug watch added: github.com/elibyy/tcpdf-laravel/issues #37 https://github.com/elibyy/tcpdf-laravel/issues/37 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1781000 Title: php-tcpdf installs outdated code which breaks with " Deprecated: The each() function is deprecated." on PHP version 7.2.7-0ubuntu0.18.04.2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/tcpdf/+bug/1781000/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1781000] Re: php-tcpdf installs outdated code which breaks with " Deprecated: The each() function is deprecated." on PHP version 7.2.7-0ubuntu0.18.04.2
** Tags added: bionic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1781000 Title: php-tcpdf installs outdated code which breaks with " Deprecated: The each() function is deprecated." on PHP version 7.2.7-0ubuntu0.18.04.2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/tcpdf/+bug/1781000/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs