Hi,
this is the stack trace for the php notice:
[0] => Array(
[function] => {closure}
)
[1] => Array(
[file] => /var/www/html/web/wp/wp-includes/functions.php
[line] => 4986
[function] => trigger_error
)
[2] => Array(
[file] => /var/www/html/web/app/plugins/amp/includes/amp-helper-functions.php
[line] => 273
[function] => _doing_it_wrong
)
[3] => Array(
[file] => /var/www/html/web/app/plugins/amp/amp.php
[line] => 454
[function] => is_amp_endpoint
)
[4] => Array(
[file] => /var/www/html/web/wp/wp-includes/class-wp-hook.php
[line] => 288
[function] => amp_maybe_add_actions
)
[5] => Array
(
[file] => /var/www/html/web/wp/wp-includes/class-wp-hook.php
[line] => 312
[function] => apply_filters
)
[6] => Array(
[file] => /var/www/html/web/wp/wp-includes/plugin.php
[line] => 478
[function] => do_action
)
[7] => Array
(
[file] => /var/www/html/web/app/mu-plugins/plugin-name/includes/Core/VirtualPages/Controller.class.php
[line] => 31
[function] => do_action
)
[8] => Array
(
[file] => /var/www/html/web/wp/wp-includes/class-wp-hook.php
[line] => 290
[function] => dispatch
)
[9] => Array
(
[file] => /var/www/html/web/wp/wp-includes/plugin.php
[line] => 206
[function] => apply_filters
)
[10] => Array
(
[file] => /var/www/html/web/wp/wp-includes/class-wp.php
[line] => 145
[function] => apply_filters
)
[11] => Array
(
[file] => /var/www/html/web/wp/wp-includes/class-wp.php
[line] => 729
[function] => parse_request
)
[12] => Array
(
[file] => /var/www/html/web/wp/wp-includes/functions.php
[line] => 1255
[function] => main
)
[13] => Array
(
[file] => /var/www/html/web/wp/wp-blog-header.php
[line] => 16
[function] => wp
)
[14] => Array
(
[file] => /var/www/html/web/index.php
[line] => 5
[function] => require
)
I already disabled every plugin (except AMP Plugin) and switched the theme (even though it doesnt contain any is_amp_endpoint()
call anyways.
I redacted the args of the stack trace for readability and to prevent leaking of sensible data. If you need the full stack trace with arguments please let me know how to share it with you privately.
If you are wondering about the file paths: They are from my WP Bedrock setup, but this should not cause the issue here.
// Edit: Added all steps of stack trace, previous one was truncated.
-
This reply was modified 5 years ago by
schwifty5.