• Resolved microberto

    (@microberto)


    Hi, I’m trying to load /wp-admin/admin.php?page=backwpupeditjob&tab=dest-s3&jobid=1 and am getting an HTTP ERROR 500:

    FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught Error: Call to a member function edit_auth() on null in /wp-content/plugins/backwpup/inc/class-page-editjob.php:25
    Stack trace:
    #0 /wp-includes/plugin.php(525): BackWPup_Page_Editjob::auth('')
    #1 /wp-admin/admin.php(226): do_action('load-backwpup_p...')
    #2 {main}
      thrown in /wp-content/plugins/backwpup/inc/class-page-editjob.php on line 25" while reading response header from upstream

    So yes, I’m using php7.0-fpm on an Ubuntu Linux machine, using the ondrej sources. I have php7.0-curl installed. Something with edit_auth isn’t working here (or the $dest_class isn’t getting created by BackWPup::get_destination) and I can’t update my S3 settings now.

    Thanks for any help!!

    https://www.ads-software.com/plugins/backwpup/

Viewing 6 replies - 1 through 6 (of 6 total)
  • I will test it again. I use PHP 7.0.9 on my installation.

    Hmmm, it works on my test. Intristing is that the class will have no instance. I’m working on a refactoring of this part but this will take some time.

    Thread Starter microberto

    (@microberto)

    Hey Daniel, thanks for testing it!

    What repository are you using for PHP7.0?

    I’m using this one:
    https://launchpad.net/~ondrej/+archive/ubuntu/php

    I can replicate this issue on every Ubuntu LTS 14.04.5LTS machine. Here’s my packages installed:

    $ apt list --installed | grep -i php
    
    php-common/trusty,now 1:43+deb.sury.org~trusty+1 all [installed,automatic]
    php-imagick/trusty,now 3.4.2-2+donate.sury.org~trusty+1 amd64 [installed]
    php-pear/trusty,now 1:1.10.1+submodules+notgz-8+donate.sury.org~trusty+2 all [installed]
    php7.0/trusty,now 7.0.9-1+deb.sury.org~trusty+1 all [installed]
    php7.0-cli/trusty,now 7.0.9-1+deb.sury.org~trusty+1 amd64 [installed]
    php7.0-common/trusty,now 7.0.9-1+deb.sury.org~trusty+1 amd64 [installed]
    php7.0-fpm/trusty,now 7.0.9-1+deb.sury.org~trusty+1 amd64 [installed]
    php7.0-json/trusty,now 7.0.9-1+deb.sury.org~trusty+1 amd64 [installed]
    php7.0-mysql/trusty,now 7.0.9-1+deb.sury.org~trusty+1 amd64 [installed]
    php7.0-opcache/trusty,now 7.0.9-1+deb.sury.org~trusty+1 amd64 [installed]
    php7.0-readline/trusty,now 7.0.9-1+deb.sury.org~trusty+1 amd64 [installed]
    php7.0-xml/trusty,now 7.0.9-1+deb.sury.org~trusty+1 amd64 [installed]

    No clue what’s wrong, but interestingly, this is *not* happening on an Ubuntu 12.04.5 LTS machine!

    Any ideas, or more ways I can help debug? I hate not having backups going!!

    Thanks again!

    I use Windows for development and a shard hosting for tests.

    Please check taht all files from BackWPup are exsits (see inc folder).

    Thread Starter microberto

    (@microberto)

    Got it – had to reinstall php7.0-curl!! My mistake, closing this out. Thanks for your time!

    If you are happy with our plugin and support, we would really appreciate if you take just a minute to rate our plugin! Thanks a lot in advance!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘PHP7.0: Call to a member function edit_auth() on null at S3 Service Page’ is closed to new replies.