Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter joaomluz

    (@joaomluz)

    Problem solved. Its not related to plugin itself. It was a problem with configuration in my server.

    • This reply was modified 8 years, 11 months ago by joaomluz.
    Thread Starter joaomluz

    (@joaomluz)

    – PROBLEM SOLVED – REMOVED INFOS/LOGS –

    • This reply was modified 8 years, 11 months ago by joaomluz.
    • This reply was modified 8 years, 11 months ago by joaomluz.
    • This reply was modified 8 years, 11 months ago by joaomluz.
    Thread Starter joaomluz

    (@joaomluz)

    The url of the dump

    **my_site**/wp-cron.php?doing_wp_cron=1493061250.1566278934478759765625&backwpup_run=test

    Returns a page with a body “BackWPup test request”.

    Thread Starter joaomluz

    (@joaomluz)

    In my DEVELOPMENT environment is working perfect. This error occurs in my PRODUCTION environment. The files are the same (im using GIT). Maybe some PHP configuration?

    Thread Starter joaomluz

    (@joaomluz)

    There is no ERROR in my logs WP_DEBUG only warnings and strict standars not related..

    
    
    [24-Apr-2017 18:58:06 UTC] PHP Strict Standards:  call_user_func_array() expects parameter 1 to be a valid callback, non-static method ACFCustom::create_empresa_post_type() should not be called statically in ******/wp-includes/class-wp-hook.php on line 298
    
    [24-Apr-2017 18:58:07 UTC] PHP Warning:  call_user_func_array() expects parameter 1 to be a valid callback, class 'BBPressCustom' does not have a method 'mb_profile_menu_tabs' in ******/wp-includes/class-wp-hook.php on line 298
    
    [24-Apr-2017 18:58:07 UTC] PHP Strict Standards:  call_user_func_array() expects parameter 1 to be a valid callback, non-static method UniUserRoles::add_new_roles() should not be called statically in ******/wp-includes/class-wp-hook.php on line 298
    
    [24-Apr-2017 18:58:07 UTC] PHP Strict Standards:  call_user_func_array() expects parameter 1 to be a valid callback, non-static method bphelp_remove_profile_links::remove_xprofile_links() should not be called statically in ******/wp-includes/class-wp-hook.php on line 298
    [24-Apr-2017 18:58:07 UTC] PHP Warning:  Illegal string offset 'enabled_post_types' in ******/wp-content/plugins/frontend-uploader/frontend-uploader.php on line 706
    
    [24-Apr-2017 18:58:07 UTC] PHP Notice:  Uninitialized string offset: 0 in ******/wp-content/plugins/frontend-uploader/frontend-uploader.php on line 706
    
    [24-Apr-2017 18:58:07 UTC] PHP Strict Standards:  call_user_func_array() expects parameter 1 to be a valid callback, non-static method UniUserRoles::remove_itens_toolbars_instructor_role() should not be called statically in ******/wp-includes/class-wp-hook.php on line 298
    • This reply was modified 8 years, 11 months ago by joaomluz.
    Thread Starter joaomluz

    (@joaomluz)

    Sorry about that. I dumped some variables (in plugins/backwpup/inc/class-page-settings.php)

    $raw_response = BackWPup_Job::get_jobrun_url( 'test' );
    var_dump($raw_response);
    $response_code = wp_remote_retrieve_response_code( $raw_response );
    $response_body = wp_remote_retrieve_body( $raw_response );

    $raw_response:

    array(6) { ["headers"]=> object(Requests_Utility_CaseInsensitiveDictionary)#20885 (1) { ["data":protected]=> array(8) { ["x-powered-by"]=> string(10) "PHP/5.6.19" ["cache-control"]=> string(17) "public, max-age=3" ["expires"]=> string(29) "Mon, 24 Apr 2017 19:14:14 GMT" ["content-type"]=> string(24) "text/html; charset=UTF-8" ["content-length"]=> string(1) "0" ["date"]=> string(29) "Mon, 24 Apr 2017 19:14:11 GMT" ["accept-ranges"]=> string(5) "bytes" ["server"]=> string(9) "LiteSpeed" } } ["body"]=> bool(false) ["response"]=> array(2) { ["code"]=> int(200) ["message"]=> string(2) "OK" } ["cookies"]=> array(0) { } ["filename"]=> NULL ["http_response"]=> object(WP_HTTP_Requests_Response)#20889 (5) { ["response":protected]=> object(Requests_Response)#20888 (10) { ["body"]=> bool(false) ["raw"]=> string(275) "HTTP/1.1 200 OK X-Powered-By: PHP/5.6.19 Cache-Control: public, max-age=3 Expires: Mon, 24 Apr 2017 19:14:14 GMT Content-Type: text/html; charset=UTF-8 Content-Length: 0 Date: Mon, 24 Apr 2017 19:14:11 GMT Accept-Ranges: bytes Server: LiteSpeed Connection: close " ["headers"]=> object(Requests_Response_Headers)#20887 (1) { ["data":protected]=> array(8) { ["x-powered-by"]=> array(1) { [0]=> string(10) "PHP/5.6.19" } ["cache-control"]=> array(1) { [0]=> string(17) "public, max-age=3" } ["expires"]=> array(1) { [0]=> string(29) "Mon, 24 Apr 2017 19:14:14 GMT" } ["content-type"]=> array(1) { [0]=> string(24) "text/html; charset=UTF-8" } ["content-length"]=> array(1) { [0]=> string(1) "0" } ["date"]=> array(1) { [0]=> string(29) "Mon, 24 Apr 2017 19:14:11 GMT" } ["accept-ranges"]=> array(1) { [0]=> string(5) "bytes" } ["server"]=> array(1) { [0]=> string(9) "LiteSpeed" } } } ["status_code"]=> int(200) ["protocol_version"]=> float(1.1) ["success"]=> bool(true) ["redirects"]=> int(0) ["url"]=> string(101) "**my_site**/wp-cron.php?doing_wp_cron=1493061250.1566278934478759765625&backwpup_run=test" ["history"]=> array(0) { } ["cookies"]=> object(Requests_Cookie_Jar)#20890 (1) { ["cookies":protected]=> array(0) { } } } ["filename":protected]=> NULL ["data"]=> NULL ["headers"]=> NULL ["status"]=> NULL } }

    [“body”]=> bool(false) thats seems wrong..

    Thread Starter joaomluz

    (@joaomluz)

    I have dumped some values here (bakupwpup/inc/class-page-settigs.php):

    
    $raw_response = BackWPup_Job::get_jobrun_url( 'test' );
    var_dump($raw_response);
    $response_code = wp_remote_retrieve_response_code( $raw_response );
    $response_body = wp_remote_retrieve_body( $raw_response );
    

    Value of $raw_response:

    array(6) { ["headers"]=> object(Requests_Utility_CaseInsensitiveDictionary)#20885 (1) { ["data":protected]=> array(8) { ["x-powered-by"]=> string(10) "PHP/5.6.19" ["cache-control"]=> string(17) "public, max-age=3" ["expires"]=> string(29) "Mon, 24 Apr 2017 19:14:14 GMT" ["content-type"]=> string(24) "text/html; charset=UTF-8" ["content-length"]=> string(1) "0" ["date"]=> string(29) "Mon, 24 Apr 2017 19:14:11 GMT" ["accept-ranges"]=> string(5) "bytes" ["server"]=> string(9) "LiteSpeed" } } ["body"]=> bool(false) ["response"]=> array(2) { ["code"]=> int(200) ["message"]=> string(2) "OK" } ["cookies"]=> array(0) { } ["filename"]=> NULL ["http_response"]=> object(WP_HTTP_Requests_Response)#20889 (5) { ["response":protected]=> object(Requests_Response)#20888 (10) { ["body"]=> bool(false) ["raw"]=> string(275) "HTTP/1.1 200 OK X-Powered-By: PHP/5.6.19 Cache-Control: public, max-age=3 Expires: Mon, 24 Apr 2017 19:14:14 GMT Content-Type: text/html; charset=UTF-8 Content-Length: 0 Date: Mon, 24 Apr 2017 19:14:11 GMT Accept-Ranges: bytes Server: LiteSpeed Connection: close " ["headers"]=> object(Requests_Response_Headers)#20887 (1) { ["data":protected]=> array(8) { ["x-powered-by"]=> array(1) { [0]=> string(10) "PHP/5.6.19" } ["cache-control"]=> array(1) { [0]=> string(17) "public, max-age=3" } ["expires"]=> array(1) { [0]=> string(29) "Mon, 24 Apr 2017 19:14:14 GMT" } ["content-type"]=> array(1) { [0]=> string(24) "text/html; charset=UTF-8" } ["content-length"]=> array(1) { [0]=> string(1) "0" } ["date"]=> array(1) { [0]=> string(29) "Mon, 24 Apr 2017 19:14:11 GMT" } ["accept-ranges"]=> array(1) { [0]=> string(5) "bytes" } ["server"]=> array(1) { [0]=> string(9) "LiteSpeed" } } } ["status_code"]=> int(200) ["protocol_version"]=> float(1.1) ["success"]=> bool(true) ["redirects"]=> int(0) ["url"]=> string(101) "http://**MYSITE**/wp-cron.php?doing_wp_cron=1493061250.1566278934478759765625&backwpup_run=test" ["history"]=> array(0) { } ["cookies"]=> object(Requests_Cookie_Jar)#20890 (1) { ["cookies":protected]=> array(0) { } } } ["filename":protected]=> NULL ["data"]=> NULL ["headers"]=> NULL ["status"]=> NULL } }

    [“body”] came false (boolean) it should came “BackWPup test request” right?

    • This reply was modified 8 years, 11 months ago by joaomluz.
Viewing 7 replies - 1 through 7 (of 7 total)