getgrav / getgrav/grav-plugin-admin

Admin cannot complete page saving when Xdebug enabled

Open
#2,401 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
377
Forks
225
Avg merge
11h 51m
Merged PRs (30d)
4

Description

When I try to save a page in my local development environment from the admin plugin, I see that the page file does actually get updated, but the browser doesn't refresh, and everything on localhost stops responding until I reset Apache. I can see in the Task Admin that Apache is using CPU, and it can continue doing so indefinitely.
Disabling all other plugins didn't help, but I noticed that disabling Xdebug did. It doesn't seem to matter which particular module is enabled -- setting either `xdebug.mode` to `debug` or `coverage` causes the issue -- but if `xdebug.mode` is set to nothing (`xdebug.mode = `), then the problem resolves, even if Xdebug itself is still enabled (`zend_extension = xdebug`).

I'm on Windows 10 using Laragon, Apache 2.4.58, PHP 8.3.0, Xdebug 3.3.1, Grav 1.7.44, Admin 1.10.44

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.