Skip to content
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

Next: switch to pest, enable globals, fix errors/exception handling. #122

Merged
merged 35 commits into from
Oct 31, 2021
Merged

Conversation

QWp6t
Copy link
Sponsor Member

@QWp6t QWp6t commented Oct 30, 2021

Closes #87
Closes #100
Closes #109
Closes #110
Closes #111
Closes #112
Closes #113

QWp6t and others added 30 commits June 6, 2021 17:47
@QWp6t QWp6t merged commit fe027f1 into main Oct 31, 2021
@QWp6t QWp6t deleted the next branch October 31, 2021 01:23
composer.json Outdated Show resolved Hide resolved
@strarsis
Copy link
Contributor

strarsis commented Jan 9, 2022

@QWp6t: Great work! Has this already been released (acorn) and required by Sage 10?
I just re-encountered this issue again with a recent Sage 10 theme.

@Log1x
Copy link
Sponsor Member

Log1x commented Jan 9, 2022

what issue?

@strarsis
Copy link
Contributor

strarsis commented Jan 9, 2022

@Log1x: PHP notices and warnings causes a whoops error/exception that makes the whole page unusable.

@Log1x
Copy link
Sponsor Member

Log1x commented Jan 9, 2022

this should only happen on development. we could probably use an is_admin() check though. thoughts @QWp6t ?

@strarsis
Copy link
Contributor

strarsis commented Jan 9, 2022

@Log1x: Good point. Though this also happens for me in production 😿 (blank page then, but corresponding error log entry).

Relevant issue + workaround:
#87 (comment)
#100

@Log1x
Copy link
Sponsor Member

Log1x commented Jan 10, 2022

is this primarily happening in admin?

@strarsis
Copy link
Contributor

strarsis commented Jan 10, 2022

No, it also happens on frontend. But most PHP notices/warnings (e.g. WooCommerce) happen in admin, so I notice them mostly there. Well, so yes, primarily it is noticeable on admin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants