Possible infinite loop

Hi, guys. Have you ever had an error like this?
Xdebug has detected a possible infinite loop, and aborted your script with a stack depth of '256' frames
Xdebug has detected a possible infinite loop, and aborted your script with a stack depth of '256' frames
[previous exception] [object] (Error(code: 0): Xdebug has detected a possible infinite loop, and aborted your script with a stack depth of '256' frames at /Users/Diana/Sites/Graffino/StMartinApi/vendor/aws/aws-sdk-php/src/EndpointV2/Rule/RuleCreator.php:9)
[stacktrace]
[previous exception] [object] (Error(code: 0): Xdebug has detected a possible infinite loop, and aborted your script with a stack depth of '256' frames at /Users/Diana/Sites/Graffino/StMartinApi/vendor/aws/aws-sdk-php/src/EndpointV2/Rule/RuleCreator.php:9)
[stacktrace]
I am using media library pro and after I upload a photo with MediaPicker and refresh the page I get this error
4 Replies
Dennis Koch
Dennis Koch2y ago
I think someone had the same issue and the max stack depth was just not enough
DianaMujoiu
DianaMujoiuOP2y ago
I'm not sure what to do in this case
Dennis Koch
Dennis Koch2y ago
Try whether it works without Xdebug. Or update Xdebug settings. I guess it's this setting: xdebug.max_nesting_level = 256. https://xdebug.org/docs/develop
DianaMujoiu
DianaMujoiuOP2y ago
Thank you🙏🏻
Want results from more Discord servers?
Add your server