• Resolved cyberdark

    (@cyberdark)


    Hello, good afternoon.

    We’ve run into a problem with the plugin. Since the last update it no longer works on PHP 5.4, because compatibility issues with AWS SDK.

    Basically, we get

    [Sun Jul 21 18:17:20 2019] [error] [client 81.61.4.184] PHP Parse error: syntax error, unexpected ‘$value’ (T_VARIABLE) in /home/…/www/wp-content/plugins/backwpup/vendor/aws/aws-sdk-php/src/functions.php on line 36

    which points to the keyword “yield”, introduced in PHP 5.5.

    Is it there any possibility we’ve backupwpup running on php 5.4 again?

    Thanks in advance.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @cyberdark
    for now, please temproary using an old version of BWU 3.6.9, you can download it here: https://downloads.wordpress.org/plugin/backwpup.3.6.9.zip
    After activated the old version, please give me your server info by going to BackWPUp -> Settings -> Infomation tab
    Thank you!

    Thread Starter cyberdark

    (@cyberdark)

    Hi, there you’re

    Thanks!

    versión WordPress 3.9.27
    versión BackWPup 3.6.9 Obtener la version pro.
    versión PHP 5.4.45-0+deb7u14 (64bit)
    versión MySQL 5.5.60-0+deb7u1-log
    versión cURL 7.26.0
    versión cURL SSL OpenSSL/1.0.1t
    URL de WP-Cron http://www.aefcft.com/wp-cron.php
    Auto-Conexión del servidor Puesta de Test O.K.
    Document root /home/aefcft/www
    Carpeta temporal /home/aefcft/www/wp-content/uploads/backwpup-6442b0-temp/
    Directorio de registro /home/aefcft/www/wp-content/backwpup-febd0-logs/
    Servidor Apache
    Sistema operativo Linux
    PHP SAPI apache2handler
    Actual usuario PHP aefcft
    Tiempo máximo de ejecución 30 segundos
    Tiempo máximo de ejecución del script de BackWPup 0 segundos
    Altenativa WP Cron Apagado
    WP Cron desactivado Apagado
    CHMOD Dir 0755
    Hora del servidor 14:34
    Hora del blog 15:34
    Zona horaria de blog
    Offset de hora del blog 1 horas
    Idioma del blog es-ES
    Codificación del cliente MySQL utf8
    Límite de memoria de PHP 256M
    Límite de memoria de WP 40M
    Límite máximo de memoria WP 256M
    Memoria en uso 49,25 MB
    Funciones PHP deshabilitadas: link
    Extensiones PHP cargadas: Core, PDO, PDO_Firebird, PDO_ODBC, Phar, Reflection, SPL, SimpleXML, XCache, apache2handler, bcmath, bz2, calendar, ctype, curl, date, dba, dom, ereg, exif, ffmpeg, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imap, interbase, intl, ionCube Loader, json, ldap, libxml, mbstring, mcrypt, mhash, ming, mongo, mssql, mysql, mysqli, mysqlnd, odbc, openssl, pcre, pdo_dblib, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, posix, pspell, session, shmop, soap, sockets, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib

    Hi @cyberdark
    Duo to Amazon SDK library update, which requires PHP 5.5+, so that why you got the issue 🙁
    Sorry, but is it possible for you to contact the hoster and tell them to upgrade the PHP version to at least 5.5, or much better, PHP 5.6 or the latest 7.3? Because your PHP version is really outdated and will not receive any security fix or performance improvement, you can check here:
    https://www.php.net/supported-versions.php
    And I know that the reason to not upgrade the PHP version may because of code compatibility, but I think, at least you can safely upgrade the PHP version to 5.5 or much better, 5.6

    Thread Starter cyberdark

    (@cyberdark)

    Hi, hello, not possible in my case.

    I’d suggest you then to update the plugin PHP minimum version on https://wordpress.org/plugins/backwpup/

    Thanks a lot for your help!

    Hi @cyberdark
    Thank you for noticing it, I already request PHP minimum version update to our plugin release manager ^^
    So it expected it will be updated tomorrow.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘AWS SDK incompatibility’ is closed to new replies.