VCL upload errors

Created on 21 March 2022, over 2 years ago
Updated 23 January 2024, 5 months ago

Problem/Motivation

When I try to upload VCL from the user interface, it does not work well and I get some errors in the logs:

Warning : array_merge(): Expected parameter 1 to be an array, null given in Drupal\fastly\VclHandler->execute() (/app/web/modules/contrib/fastly/src/VclHandler.php line 513)

Notice : Undefined property: stdClass::$version in Drupal\fastly\VclHandler->getSetting() (/app/web/modules/contrib/fastly/src/VclHandler.php line 940)

Warning : Invalid argument supplied for foreach() in Drupal\fastly\VclHandler->execute() (/app/web/modules/contrib/fastly/src/VclHandler.php line 522)

I tried on two websites. Connection with API tokens is working well but not the VLC upload. I get the errors quoted above and when checking the vlc from last version on Fastly, the snippets from the module are missing.

πŸ› Bug report
Status

RTBC

Version

3.14

Component

Code

Created by

πŸ‡­πŸ‡°Hong Kong DavidPetit

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024