• I’ve updated the plugin so that it works with PHP 8.

    You can find the new plugin on GitHub: https://github.com/luanluta/Easy-Columns-PHP-8-Update

    Or direct download it here.

    The issue was that the plugin was using an outdated method to create a class. The only change has been to update the method used in easy-columns.php on line 35 from:

    function EasyColumns() { //constructor

    To

    function __construct() { //constructor

    Tested up to PHP 8.3.

    • This topic was modified 1 year, 8 months ago by luanluta. Reason: Pressed submit button too soon
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thanks @luanluta , a single detail

    this warning message is displayed

    Warning: Undefined property: EasyColumns::$use_custom in plugins/easy-columns/easy-columns.php on line 233

    caybaratrogerwestcom

    (@caybaratrogerwestcom)

    The fix for the error on line 233, should be as simple as changing $this->use_custom to $this->options[‘use_custom’].

    So once you’re done, it should look as follows:

    <?php if($this->options[‘use_custom’] || !empty($this->options[‘custom_css’])){ ?>

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PHP 8 Compatibility Fix.’ is closed to new replies.