Hello,

Everytime I run update.pho to update Drupal 8.2.3 I get the following error:

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /update.php/start?id=19&op=do_nojs&op=do
StatusText: OK
ResponseText: Error: Call to undefined method Drupal\contact\Entity\ContactForm::setMessage() in contact_post_update_add_message_redirect_field_to_contact_form() (line 22 of C:\inetpub\drupal_esc\core\modules\contact\contact.post_update.php).

Then on the error page:

Notice: Undefined offset: 1 in Drupal\system\Controller\DbUpdateController->results() (line 413 of core\modules\system\src\Controller\DbUpdateController.php).
Drupal\system\Controller\DbUpdateController->results(Object) (Line: 179)
Drupal\system\Controller\DbUpdateController->handle('results', Object)
call_user_func_array(Array, Array) (Line: 110)
Drupal\Core\Update\UpdateKernel->handleRaw(Object) (Line: 73)
Drupal\Core\Update\UpdateKernel->handle(Object) (Line: 19)

Can anyone point me in the right direction on how to fix this?

Thank you!!

Comments

nluddy created an issue. See original summary.

cilefen’s picture

What is the Drupal version you upgraded from?

Version: 8.2.x-dev » 8.3.x-dev

Drupal 8.2.6 was released on February 1, 2017 and is the final full bugfix release for the Drupal 8.2.x series. Drupal 8.2.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.3.0 on April 5, 2017. (Drupal 8.3.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.3.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.4.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

bendev’s picture

same issue to upgrade from 8.1.3 to 8.2.6

Frandevos’s picture

I get: "An AJAX HTTP error occurred.
HTTP Result Code: 500"
Not 200... but same problem.
I have installed the domain acces module.
Could it be related to that?

cilefen’s picture

Check the web server logs for the full error. Nothing else can be determined from that message as-is.

cilefen’s picture

@Frandevos Also, the issue you are having could be totally different. In which case, open a new issue please.

Version: 8.3.x-dev » 8.4.x-dev

Drupal 8.3.6 was released on August 2, 2017 and is the final full bugfix release for the Drupal 8.3.x series. Drupal 8.3.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.4.0 on October 4, 2017. (Drupal 8.4.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.4.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.5.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

karolus’s picture

I'm getting this same issue attempting to update from 8.2.x to 8.4. In checking the logs, I got this message:

[Tue Nov 28 11:51:19.931775 2017] [fcgid:warn] [pid 89436:tid 3050594304] [client 127.0.0.1:64180] mod_fcgid: stderr: #21 /path/to/local/web/index.php(19): Drupal\\Core\\DrupalKernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request))
[Tue Nov 28 11:51:19.931789 2017] [fcgid:warn] [pid 89436:tid 3050594304] [client 127.0.0.1:64180]

This was the original message within the UI when running the update:

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /update.php/start?id=18&op=do_nojs&op=do
StatusText: OK

I'm running this local build on PHP 7, with Drush 8.1.15

cilefen’s picture

Status: Active » Closed (cannot reproduce)

@karolus Open a new issue please.

karolus’s picture

@cilefen Found out what was causing this. It was a PHP version mismatch between what the system was running, and what the local dev environment was. Because of the different dependency requirements, AJAX errors were a side effect. This is covered here.

Thanks, Matt