Okay
  Public Ticket #2336064
PHP 7.4 update
Open

Comments

  • Paul Karlsen started the conversation

    Hello there, Down Under.

    We are planning an upgrade from PHP 7.3 to PHP 7.4 and did a test-run tonight. We got an error message in our error log (see below) which seems to be caused by a single line of code in one of the plugin files. Would you be able to help us update that particular line of code (see below)?

    Thank you very much for your time and effort!

    Yours sincerely,

    Paul Karlsen

    Psykologisk.no

    Norway

    1. The second line in this function seems to be the cause of the problem:

              public function __construct() {

                    $this->parent->admin_notices[] = array(
                        'type'    => 'error',
                        'msg'     => '' . __( 'File Permission Issues', 'redux-framework' ) . '
    ' . sprintf( __( 'We were unable to modify required files. Please check your permissions, or modify your wp-config.php file to contain your FTP login credentials as outlined here.', 'redux-framework' ), 'https://codex.wordpress.org/Editing_wp-config.php#WordPress_Upgrade_Constants' ),
                        'id'      => 'redux-wp-login',
                        'dismiss' => false,
                    );
                }

    2. The line creates the following repeated error message:

    [24-Mar-2020 00:28:11 UTC] PHP Warning:  Creating default object from empty value in /home/psykowuo/public_html/wp-content/plugins/stylish-links-pro/options/inc/class.redux_filesystem.php on line 29
    [24-Mar-2020 00:28:12 UTC] PHP Warning:  Creating default object from empty value in /home/psykowuo/public_html/wp-content/plugins/stylish-links-pro/options/inc/class.redux_filesystem.php on line 29
    [24-Mar-2020 00:28:13 UTC] PHP Warning:  Creating default object from empty value in /home/psykowuo/public_html/wp-content/plugins/stylish-links-pro/options/inc/class.redux_filesystem.php on line 29
    [24-Mar-2020 00:28:13 UTC] PHP Warning:  Creating default object from empty value in /home/psykowuo/public_html/wp-content/plugins/stylish-links-pro/options/inc/class.redux_filesystem.php on line 29
    [24-Mar-2020 00:28:21 UTC] PHP Warning:  Creating default object from empty value in /home/psykowuo/public_html/wp-content/plugins/stylish-links-pro/options/inc/class.redux_filesystem.php on line 29
    [24-Mar-2020 00:28:24 UTC] PHP Warning:  Creating default object from empty value in /home/psykowuo/public_html/wp-content/plugins/stylish-links-pro/options/inc/class.redux_filesystem.php on line 29
    [24-Mar-2020 00:28:32 UTC] PHP Warning:  Creating default object from empty value in /home/psykowuo/public_html/wp-content/plugins/stylish-links-pro/options/inc/class.redux_filesystem.php on line 29
    [24-Mar-2020 00:28:36 UTC] PHP Warning:  Creating default object from empty value in /home/psykowuo/public_html/wp-content/plugins/stylish-links-pro/options/inc/class.redux_filesystem.php on line 29
    [24-Mar-2020 00:28:37 UTC] PHP Warning:  Creating default object from empty value in /home/psykowuo/public_html/wp-content/plugins/stylish-links-pro/options/inc/class.redux_filesystem.php on line 29
    [24-Mar-2020 00:28:38 UTC] PHP Warning:  Creating default object from empty value in /home/psykowuo/public_html/wp-content/plugins/stylish-links-pro/options/inc/class.redux_filesystem.php on line 29
    [24-Mar-2020 00:28:43 UTC] PHP Warning:  Creating default object from empty value in /home/psykowuo/public_html/wp-content/plugins/stylish-links-pro/options/inc/class.redux_filesystem.php on line 29
    [24-Mar-2020 00:28:45 UTC] PHP Warning:  Creating default object from empty value in /home/psykowuo/public_html/wp-content/plugins/stylish-links-pro/options/inc/class.redux_filesystem.php on line 29
    [24-Mar-2020 00:29:00 UTC] PHP Warning:  Creating default object from empty value in /home/psykowuo/public_html/wp-content/plugins/stylish-links-pro/options/inc/class.redux_filesystem.php on line 29
    [24-Mar-2020 00:29:09 UTC] PHP Warning:  Creating default object from empty value in /home/psykowuo/public_html/wp-content/plugins/stylish-links-pro/options/inc/class.redux_filesystem.php on line 29
    [24-Mar-2020 00:29:21 UTC] PHP Warning:  Creating default object from empty value in /home/psykowuo/public_html/wp-content/plugins/stylish-links-pro/options/inc/class.redux_filesystem.php on line 29
    [24-Mar-2020 00:29:23 UTC] PHP Warning:  Creating default object from empty value in /home/psykowuo/public_html/wp-content/plugins/stylish-links-pro/options/inc/class.redux_filesystem.php on line 29
    [24-Mar-2020 00:29:25 UTC] PHP Warning:  Creating default object from empty value in /home/psykowuo/public_html/wp-content/plugins/stylish-links-pro/options/inc/class.redux_filesystem.php on line 29
    [24-Mar-2020 00:29:27 UTC] PHP Warning:  Creating default object from empty value in /home/psykowuo/public_html/wp-content/plugins/stylish-links-pro/options/inc/class.redux_filesystem.php on line 29
    [24-Mar-2020 00:29:27 UTC] PHP Warning:  Creating default object from empty value in /home/psykowuo/public_html/wp-content/plugins/stylish-links-pro/options/inc/class.redux_filesystem.php on line 29
    [24-Mar-2020 00:29:29 UTC] PHP Warning:  Creating default object from empty value in /home/psykowuo/public_html/wp-content/plugins/stylish-links-pro/options/inc/class.redux_filesystem.php on line 29
    [24-Mar-2020 00:29:37 UTC] PHP Warning:  Creating default object from empty value in /home/psykowuo/public_html/wp-content/plugins/stylish-links-pro/options/inc/class.redux_filesystem.php on line 29
    [24-Mar-2020 00:29:40 UTC] PHP Warning:  Creating default object from empty value in /home/psykowuo/public_html/wp-content/plugins/stylish-links-pro/options/inc/class.redux_filesystem.php on line 29
    [24-Mar-2020 00:30:16 UTC] PHP Warning:  Creating default object from empty value in /home/psykowuo/public_html/wp-content/plugins/stylish-links-pro/options/inc/class.redux_filesystem.php on line 29

  •  335
    Brian replied

    Unfortunately since that's part of the Redux options framework, you'd have to look at their support docs. That piece of code comes from their third-party framework that the Stylish Links plugin uses for the options pages, and it would need to be taken care of by the Redux team. I'm not sure how to fix that specific issue or why it's being caused when you update PHP versions unfortunately.