• Resolved Murdoch

    (@murdoch)


    This is a local installation front-ended by DesktopServer Limited v3.8.1 (hence XAMPP) using the Headway 3.8.5 theme. Whenever I seek to install a plugin (whether by directly installing or by uploading a zip file from the local machine) or update a plugin I typically get two or three very similar error message panels followed by a final message panel including the following header comment:

    (WordPress could not establish a secure connection to www.remarpro.com … in J:\WebDev\tangodorset.dev\wp-includes\update.php on line 303

    This is followed by a panel of six lines each comprising a number, a function name and a location, these being as follows:
    024 {main}( ) ..\plugins.php:0
    584 require_once( ‘J:\WebDev\tangodorset.dev\wp-admin\admin.php’ ) ..\plugins.php:10
    848 do_action( ) ..\admin.php:342
    832 call_user_func_array:{J:\WebDev\tangodorset.dev\wp-includes\plugin.php:525} ( ) ..\plugin.php:525
    200 wp_update_plugins( ) ..\plugin.php:525
    952 trigger_error ( ) ..\update.php:303

    I can post information from the earlier panels if necessary but, briefly, they each consist of seven almost identical lines beginning with function {main){) [I know that seems unbalanced but that’s how it’s written] in ..\update.php:0 and ending with function trigger error() in ..\update.php:123 or ..\update.php:467 in one example.

    In these earlier panels the time differs as well, here running in the first from 0.0117 to 10.2842 and in the second from 0.0117 to 18.9785.

    Any help or pointers you can give would be much appreciated.

    Thanks, M

Viewing 12 replies - 1 through 12 (of 12 total)
  • Hi Murdoch,

    looks like ssl error!

    Is ssl working fine with your XAMPP install?

    please follow this: https://stackoverflow.com/questions/5801425/enabling-ssl-with-xampp

    It might be that the plugin/s you’re using aren’t compatible with your theme or your theme may need to be updated to be compliant with the latest version of WordPress?

    Since Headway is a commercial theme, we ask that you please go to their official support channel, so you can get support from the people who know it best.

    Forum volunteers are also not given access to commercial products, so they would not know why it is not working properly. Other community members who may have faced your issue might be able to help you but your best bet is your product’s developer. Keep in mind we encourage you to use the official support venues, as it allows the developers to be aware of issues with their code and gives back to the community in a more robust way.

    Hi there – this doesn’t look like a theme-related issue at all so the fact that you’re running Headway or a commercial theme is likely incidental.

    Since it’s been a couple of week since you started the thread, can you let us know if you still need help or you got the issue sorted? If you still need help we’ll try to point you in the right direction.

    The first troubleshooting step I’d suggest is temporarily deactivating all your plugins. Does the problem persist? If the problem is gone, reactivate your plugins one-by-one, look at the site in between each reactivation, to find the conflict.

    WordPress could not establish a secure connection to www.remarpro.com…

    means outgoing https requests by WordPress – plugin, core and theme update checks, RSS, etc – are blocked by your firewall.

    add to wp-config to stop these requests

    define('WP_HTTP_BLOCK_EXTERNAL', true);

    and that may solve the other errors.

    @kathryn / @songdogtech – Feel free to remove my post as it isn’t useful. Sorry everyone!

    No worries, Adeline!

    Murdoch, if you were still having trouble, could you let us know if songdogtech’s suggestion helped you out?

    Thread Starter Murdoch

    (@murdoch)

    Thanks, everyone. Curiously, it happened that there was an earlier reply posted maybe ten days ago (referring to ensuring SSL was implemented and giving some relevant links) but when I came to respond to that both my reply and that earlier post vanished and as I didn’t have the relevant details I couldn’t easily respond for a second time.

    songdogtech: thanks for that suggestion. Unfortunately, however, its effect is to prevent any update access at all and to give at that point an error message very similar to the ones I mentioned earlier as getting after the update had been effected (and see below). Subsequently commenting out the new line inserted in wp-config (which I copied and pasted from your post) allowed access once more.

    The pre-access error and the post-access errors each reference line 525 in plugin.php as “call_user_func_array:{J:\WebDev\tangodorset.dev\wp-includes\plugin.php:525} ( )” In that files lines 522-530 read as:

    do {
    foreach ( (array) current($wp_filter[$tag]) as $the_ )
    if ( !is_null($the_[‘function’]) )
    call_user_func_array($the_[‘function’], array_slice($args, 0, (int) $the_[‘accepted_args’]));

    } while ( next($wp_filter[$tag]) !== false );

    array_pop($wp_current_filter);
    }

    Kathryn: Thanks also. In fact I did earlier remove all plugins in case of a conflict. I can’t now recollect the exact details but my recollection is that whenever I attempted to install any plugin I got the same problem. I haven’t checked further right now but I’m quite happy to again do so if my latest comments above don’t help to throw any light on things.

    Adeline: Thanks also. No, I don’t think it’s theme related. In fact I’ve moved to using the Divi theme and I get exactly the same problems. I’m pretty sure also that use one of the default WP themes, 2016 I think, the same happened.

    In fact, whatever the error is it doesn’t seem to cause practical problems, at least none I’m aware of. That is, plugins install or update as they should and everything appears to continue working. I’d like to solve it, though, as clearly having such error messages isn’t as it should be.

    Are you trying to use an SSL on XAMPP?

    Moderator Kathryn Presner

    (@zoonini)

    Curiously, it happened that there was an earlier reply posted maybe ten days ago (referring to ensuring SSL was implemented and giving some relevant links)

    There was an earlier reply caught in the spam filter – I’ve unblocked it now.

    Thread Starter Murdoch

    (@murdoch)

    No, not trying to use SSL.

    This is really a question for DesktopServer support; try them.

    Thread Starter Murdoch

    (@murdoch)

    OK – I’ll check there. Thanks. M

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Unexpected error on updating’ is closed to new replies.