Chassis / core_dev

A Chassis extension for WordPress Core development.
2 stars 1 forks source link

Undefined local variable or method `database_prefix` #32

Closed BronsonQuick closed 5 years ago

BronsonQuick commented 5 years ago

I've just stumbled across this while I'm messing around with Debian Stretch for https://core.trac.wordpress.org/ticket/47184. I'm using my Bionic Beaver branch which has Puppet updates and I've swapped the box to Stretch.

default: Warning: Config file /vagrant/puppet/hiera.yaml not found, using Hiera defaults default: Error: Evaluation Error: Error while evaluating a Function Call, Failed to parse template core_dev/wp-tests-config.php.erb: default: Filepath: /vagrant/extensions/core_dev/modules/core_dev/templates/wp-tests-config.php.erb default: Line: 61 default: Detail: undefined local variable or method `database_prefix' for # default: Did you mean? @database_prefix default: at /vagrant/extensions/core_dev/modules/core_dev/manifests/tests.pp:23:14 on node vagrant.local