Comments (6)
Can't reproduce, what are your tag restrictions like? it seems like the problem may at the tag access check level.
I had one restriction by tag, for testing purpose (just clicked once to add the tag without editing anything). I removed it but the issue persisted.
I just tried to set Flarum's own Debug mode to false
and the issue did not happen. So I guess it only happens with both Xdebug and Flarum's debug mode enabled. This is still an issue, as when doing local development, it is not rare to enable both at the same time.
from framework.
@n-peugnet how much is your nesting level for php configured at?
I guess you are talking about the xdebug.max_nesting_level
setting. I didn't set it myself so I imagine 200 is the default value on Debian. I tried to increase it with no luck. It seems 200 is the max I can specify.
php -dxdebug.max_nesting_level=500 -S localhost:8080 -t public
However, using lower values than 200 works, it indeed affects this behaviour by stopping the execution sooner. Maybe I should report this problem to Xdebug instead.
Anyways, this is not that much of a problem for me anymore as I mostly use the debug
mode and not that much the develop
one. Feel free to close this issue whenever you want.
from framework.
Can't reproduce, what are your tag restrictions like? it seems like the problem may at the tag access check level.
from framework.
Small update: this seems to happen only with Xdebug's default develop
mode12. When I set the mode to debug
using either of these methods the problem does not show up:
XDEBUG_MODE=debug php -S localhost:8080 -t public
php -d xdebug.mode=debug -S localhost:8080 -t public
Footnotes
from framework.
@n-peugnet how much is your nesting level for php configured at?
from framework.
For what it's worth, I also ran into this with xdebug.mode=develop
and switching to debug
worked. PHP 8.1 on a forum I've been running import tests on and hadn't loaded in a few months, so who knows what triggered it. It was specifically being logged in already as a non-admin, I think.
from framework.
Related Issues (20)
- typo in js part of sticky plugin HOT 5
- Missing Component Exports
- DispatchEventsTrait causes error when event does not have "actor" attribute due to PHP 8.2 deprecation HOT 4
- Setting permissions on mobile does not display correctly on mobile
- PostRepository::getIndexForNumber() walks 2 time the posts table to get offset HOT 6
- Code blocks are hard to read in dark mode HOT 2
- [1.x] `Conditional` extender instantiates the extenders array even when the conditional is false
- Support Invokable Classes in Console Extender's schedule method
- Akismet False Positives Triggered by Flag Removal
- Content max limit is incorrect HOT 2
- [2.x] `LogoutController` permits open redirects
- Height of Modals on Mobile Inconsistent
- fttb slow response time
- Invisible buttons when making primary color #ffffff
- Admin page's Save button won't reset if an error occurs HOT 1
- JSON:API Layer Refactor HOT 3
- Cryptograhpically Sign releases HOT 9
- [Pusher] New notifications count increment doesnt work
- SEO meta description doesn't take from site settings
- Advanced Maintenance HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from framework.