I’m using Sage theme in a Ansible project, configured just like the https://github.com/roots/roots-example-project.com.
Problem is that after a couple of minutes or even when trying to save something on wp-admin I get this “Session expired. Please log in again. You will not move away from this page.” message.
It happens a lot and I have to login again.
Also, sometimes I create a new page/post or add a new custom field and it just disappears after a bit.
It looks like it’s not being persisted.
My dev config:
web_user: vagrant
wordpress_sites:
example.com:
site_hosts:
- site.wip
local_path: ../site # path targeting local Bedrock site directory (relative to Ansible root)
repo: git@github.com:roots/bedrock.git
site_install: true
site_title: Example Site
admin_user: admin
admin_password: admin
admin_email: admin@example.dev
multisite:
enabled: false
subdomains: false
ssl:
enabled: false
cache:
enabled: false
duration: 30s
system_cron: true
env:
wp_home: http://site.wip
wp_siteurl: http://site.wip/wp
wp_env: development
db_name: example_dev
db_user: example_dbuser
db_password: example_dbpassword
php_error_reporting: 'E_ALL'
php_display_errors: 'On'
php_display_startup_errors: 'On'
php_track_errors: 'On'
php_mysqlnd_collect_memory_statistics: 'On'
php_opcache_enable: 0
xdebug_install: false
php_xdebug_remote_enable: true
php_xdebug_remote_connect_back: true
php_xdebug_remote_host: localhost
php_xdebug_remote_port: 9000
php_xdebug_remote_log: /tmp/xdebug.log
php_xdebug_idekey: XDEBUG
php_max_nesting_level: 200