Okay
  Public Ticket #2251523
Redux core issues
Closed

Comments

  • omniscientdigital started the conversation

    I'm seeing this error (see attached image) on all pages on the backend. It's also causing the home page to not update with changes I've made.

    Edit: I've resolved this by switching from php 7.4 to 7.3

  •  8,992
    Tahir replied

    Hey ,

    Thanks for reporting that. Will look into it for upcoming updates. 

    Best 


    ThemeNectar Support Team 

  •  3
    Kay Angev replied

    This core error can be solved by adding the following line above line 32 in the file named class.redux_filesystem.php.

    $this->parent = new stdClass();

    Bug is semi-caused by the 7.4 PHP update that will throw an error when creating an object from a falsy variable.

    From PHP 7.4 upgrading info:

    The "creating default object from empty value" warning is now consistently thrown if a falsy value is promoted into an stdClass object. Previously some cases like `$null->prop = $val` missed this warning.

    Source: https://tracker.moodle.org/browse/MDL-67307