HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search
-
Vanilla 2021.009 Modified For PHP 8 Support
Hi All, The attached download contains the 5x files that I have modified to get Vanilla 2021.009 running under PHP 8.1.12 (latest available) Feel free to examine the code and compare against the originals. Replace the stock files with the ones in this download and you'll find that the site works with PHP 8 afterwards :) -
Re: Vanilla 2021.009 Modified For PHP 8 Support
My work around for this issue was to change line 3466 in library\core\class.form.php to this: $return .= ' '.$attribute.($value === true ? '' : (is_array($value) ? '' : '="'.htmlspecialchars($value, ENT_COMPAT, 'UTF-8').'"')); It simply checks if $value is an array which stops the error of passing an array to… -
Re: Vanilla 2021.009 Modified For PHP 8 Support
Hi, I've updated to 2021.009 and test on a MAMP server. Everything's works fine with PHP 7.4.21, but when I switch to PHP 8.0.8, it's broken. So i've updated the files with your modified files for PHP 8, it worked, except for the "New Discussion" button on the home page, when there is no category selected. If I select a…
3 results