-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pdoPage: Undefined variable $showLog #351
Comments
I cannot create a pull request because I can't find pdoTools 3.0.x-pl on GitHub. But I think this solution with the isset function is the better way:
|
It's here as well: |
Apparently this wasn't fixed in pdoTools 3.0.2 or MODx 3.0.5 or wherever it needs to be fixed. Running with PHP 8.2. If one of the fixes above works, where should it be changed? Changing it the cached file that is reported in the error logs doesn't work if the MODx cache is cleared. |
Attempting to resolve error discussed here: modx-pro#351
Perhaps not a fix as such, but setting &showLog= |
Hi, I get this message in the error log:
ERROR @ .../modx/core/cache/includes/elements/modx/revolution/modsnippet/10.include.cache.php : 209) PHP warning: Undefined variable $showLog
My quick & dirty fix in
Snippets -> pdoTools -> pdoPage
(set the var $showLog):Maybe you can fix that in the next update?
Tks Jo
The text was updated successfully, but these errors were encountered: