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

PHP 8+ compatability (Fatal error in src/classes/Settings/Section.php(55): do_action()) #12

Open
fregster opened this issue Jul 12, 2023 · 1 comment

Comments

@fregster
Copy link

Is it possible to update this to PHP 8+ comparability as the plugin no longer works on recent OS build which is a real shame.

PHP Fatal error in src/classes/Settings/Section.php(55): do_action()

See https://wordpress.org/support/topic/php-fatal-error-in-src-classes-settings-section-php55-do_action/ for details to keep things in one place.

@jakubmikita
Copy link
Member

This is not related to PHP8+, but the ability to parse dochooks and references to objects (which are not stored and accessible, thus the fatal error)

We tested the plugin on PHP 8.2 and it works fine., so the issue is with something else.

We'd need to know what hosting are you using exactly.

The quick fix for that is to enable opcache comment loading:

opcache.load_comments=1
zend_optimizerplus.load_comments=1

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

No branches or pull requests

2 participants