How to Fix – /redux/inc/class.redux_filesystem.php on line 29
By: Date: May 31, 2021 Categories: Apache,Wordpress

Was auditing a website today and came across this error in the apache error log. This is due an issue with the theme and PHP 7.4 or greater. To resolve I added the following to /redux/inc/class.redux_filesystem.php

Insert a line before 29

   Line 28         public function __construct() {
   New Line           $this->parent = (object)array();
   Line 29      $this->parent->admin_notices[] = array(

This resolved the issue, I didn’t have a recurrence of error anymore.

20 thoughts on “How to Fix – /redux/inc/class.redux_filesystem.php on line 29

  1. Hello,
    I mounted my site locally, by adding the following line :
    I added thie line $this->parent = (object)array();
    the site no longer has an error, but the css are not taken into account on the version of my site locally

    Thanks,

Leave a Reply

Your email address will not be published. Required fields are marked *