Support » Plugin: SSH SFTP Updater Support » PHP 7.4 problems? Trying to access array offset …

  • Resolved jrmatwpress

    (@jrmatwpress)


    I’m getting a set of notices in the “Site Language” section of General Settings:

    Notice: Trying to access array offset on value of type bool in /var/www/html/example/wp-content/plugins/ssh-sftp-updater-support/class-wp-filesystem-ssh2.php on line 263
    
    Notice: Trying to access array offset on value of type bool in /var/www/html/example/wp-content/plugins/ssh-sftp-updater-support/class-wp-filesystem-ssh2.php on line 263
    
    Notice: Trying to access array offset on value of type bool in /var/www/html/example/wp-content/plugins/ssh-sftp-updater-support/class-wp-filesystem-ssh2.php on line 258
    
    Notice: Trying to access array offset on value of type bool in /var/www/html/example/wp-content/plugins/ssh-sftp-updater-support/class-wp-filesystem-ssh2.php on line 263

    These look like PHP 7.4 issues, but I’m not certain how to resolve them. Any advice? Thanks!

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author David Anderson

    (@davidanderson)

    This is not related to PHP 7.4; it is triggered by having a plugin or theme which uses the WP_Filesystem API incorrectly: specifically, it requests to set up a connection and then ignores the result (trying to use the connection after it failed to set up). To resolve this you need to ask your web hosting company how to get PHP to log the full trace (not just the final message), and see which plugin/theme it is coming through.

    David

Viewing 1 replies (of 1 total)
  • The topic ‘PHP 7.4 problems? Trying to access array offset …’ is closed to new replies.