Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1026046

    The update process failed on a staging install and I the process has left a broken site with an error message on the front end.

    Here are the errors:

    __________________________________
    HERE ARE THE ERROR MESSAGES:

    “The update process is starting. This process may take a while on some hosts, so please be patient.

    Enabling Maintenance mode…

    Updating Theme Enfold (1/1)

    Warning: preg_match() expects parameter 2 to be string, array given in /nas/content/staging/wattcommtest/wp-admin/includes/class-wp-upgrader.php on line 258

    Warning: file_exists() expects parameter 1 to be a valid path, array given in /nas/content/staging/wattcommtest/wp-admin/includes/class-wp-upgrader.php on line 258

    Warning: strip_tags() expects parameter 1 to be string, array given in /nas/content/staging/wattcommtest/wp-admin/includes/class-bulk-upgrader-skin.php on line 61
    Downloading update from …

    Warning: parse_url() expects parameter 1 to be string, array given in /nas/content/staging/wattcommtest/wp-admin/includes/file.php on line 970

    Warning: preg_split() expects parameter 2 to be string, array given in /nas/content/staging/wattcommtest/wp-includes/kses.php on line 1325

    Warning: strtolower() expects parameter 1 to be string, array given in /nas/content/staging/wattcommtest/wp-includes/http.php on line 517

    An error occurred while updating Enfold: Download failed. A valid URL was not provided.

    Disabling Maintenance mode…

    _________________________________________________________________________________
    AFTER THE FAILED UPDATE, THIS ERROR NOW SHOWS ON THE WEBSITE FRONT END.

    “Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘function add_custom_script’ not found or invalid function name in /nas/content/staging/wattcommtest/wp-includes/class-wp-hook.php on line 286”

    — Michael Blair

    #1026164

    Hi:

    The error after the update was showing because someone had activated the “show errors” in the server. That’s fixed, but the failed update is still an issue.

    Thanks.

    — Michael

    #1026729

    Hi Michael,

    Here are some threads to consider:

    If you need further assistance please let us know.
    Best regards,
    Victoria

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.