• Resolved shadowplaynet

    (@shadowplaynet)


    I appear to be getting the following error when i try to activate a theme through the admin dashboard.

    The issue appears to occur when attempting to install a theme that requires an activation step and the installation of other plugins and such.

    I get the SSH Dialogue box, but it is full page and not in it’s usual windowed form but there is no submit button on the page…

    this causes all admin links in the dashboard to show the ssh-sftp dialog page until the theme is renamed.

    in my error log i see…

    [root@REDACTED ssh-sftp-updater-support]# tail -f /var/log/httpd/error_log-REDACTED | grep button
    [Wed Oct 10 10:45:39.918179 2018] [:error] [pid 102819] [client 70.53.113.169:54665] PHP Fatal error: Call to undefined function submit_button() in /home/REDACTED/public_html/wp-content/plugins/ssh-sftp-updater-support/sftp.php on line 255, referer: http://REDACTED.shadowplay.net/wp-admin/index.php

    Also can i prefill in these values and expect it to automatically continue (without showing dialog window?)

    // SFTP (SSH) details for automatic updates
    define( ‘FTP_USER’, ‘someuser’ );
    define( ‘FTP_PASS’, ‘SOMEPASS’);
    define( ‘FTP_HOST’, ‘REDACTED.shadowplay.net:22’ );
    define( ‘FS_METHOD’, ‘ssl2’ );

    running

    WP Version : 4.9.8
    WPMU: No
    MySQL Version : 5.5.60
    WP Table Prefix : wp_
    PHP Version : 5.6.38
    Session Save Path : /var/lib/php/session
    WP URL: http://REDACTED.shadowplay.net
    Server Name : REDACTED.shadowplay.net
    Cookie Domain : REDACTED.shadowplay.net
    CURL Library Present : Yes
    Debug File Write Permissions : Writable
    PHP Version : 5.6.38
    PHP Memory Usage: 27.66 MB
    PHP Memory Limit : 256M
    PHP Max Upload Size : 128M
    PHP Max Post Size : 128M
    PHP Allow URL fopen : On
    PHP Allow URL Include : Off
    PHP Display Errors : Off
    PHP Max Script Execution Time : 30 Seconds

    Name Version Plugin URL
    Akismet Anti-Spam 4.0.8 https://akismet.com/
    All In One WP Security 4.3.6 https://www.tipsandtricks-hq.com/wordpress-security-and-firewall-plugin
    Easy WP SMTP 1.3.7 https://wp-ecommerce.net/easy-wordpress-smtp-send-emails-from-your-wordpress-site-using-a-smtp-server-2197
    Google Captcha (reCAPTCHA) by BestWebSoft 1.37 https://bestwebsoft.com/products/wordpress/plugins/google-captcha/
    SSH SFTP Updater Support 0.7.4 https://ww.wp.xz.cn/plugins/ssh-sftp-updater-support/
    WP Maintenance Mode 2.2.1 https://designmodo.com/

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

    (@davidanderson)

    Hi,

    Thank you for the thorough report.

    Strange. It’s an error that should either happen for everybody or nobody. But, the possibility also easily avoided with a small tweak to the code; accordingly, I’ve released verison 0.7.5; if you update, all should be well.

    David

Viewing 1 replies (of 1 total)

The topic ‘using ssh-sftp updater i get undefined function submit_button()’ is closed to new replies.