afwebdev
Forum Replies Created
-
Forum: Plugins
In reply to: [W3 Total Cache] PHP NoticeI can’t turn on HTML minify on the production site because it breaks things. Is the stack trace not enough to see where the problem is coming from?
Thank you
Forum: Plugins
In reply to: [W3 Total Cache] PHP NoticeDebug is (and has been) disabled.
Minify is on “Combine and Minify” for JS & CSS only.
Forum: Plugins
In reply to: [W3 Total Cache] PHP NoticeThanks for the reply. Here is the info you requested:
WordPress: Version 7.0.2
W3 Total Cache: Version 2.10.2
PHP: Version 8.5.6
I enabled the XDebug extension to get a trace on the error. It looks to me like it’s occurring when a 403 Forbidden page is presented, which would explain why I couldn’t figure out how to trigger it. Here is the relevant log entry:
[23-Jul-2026 22:05:35 UTC] PHP Notice: Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>w3-total-cache</code> domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the <code>init</code> action or later. Please see <a href="/proxy?url=https%3A%2F%2Fdeveloper.wordpress.org%2Fadvanced-administration%2Fdebug%2Fdebug-wordpress%2F">Debugging in WordPress</a> for more information. (This message was added in version 6.7.0.) in /{PATH}/wp-includes/functions.php on line 6170
[23-Jul-2026 22:05:35 UTC] PHP Stack trace:
[23-Jul-2026 22:05:35 UTC] PHP 1. shutdown_action_hook() /{PATH}/wp-includes/load.php:0
[23-Jul-2026 22:05:35 UTC] PHP 2. do_action($hook_name = 'shutdown') /{PATH}/wp-includes/load.php:1308
[23-Jul-2026 22:05:35 UTC] PHP 3. WP_Hook->do_action($args = [0 => '']) /{PATH}/wp-includes/plugin.php:522
[23-Jul-2026 22:05:35 UTC] PHP 4. WP_Hook->apply_filters($value = '', $args = [0 => '']) /{PATH}/wp-includes/class-wp-hook.php:365
[23-Jul-2026 22:05:35 UTC] PHP 5. wp_ob_end_flush_all('') /{PATH}/wp-includes/class-wp-hook.php:341
[23-Jul-2026 22:05:35 UTC] PHP 6. ob_end_flush() /{PATH}/wp-includes/functions.php:5493
[23-Jul-2026 22:05:35 UTC] PHP 7. W3TC\Generic_Plugin->ob_callback($buffer = '<!DOCTYPE html>\n<html>\n<head>\n\t<title>403 Forbidden</title>\n\t<style>\n\t\thtml {\n\t\t\tfont-family: "Helvetica Neue", Helvetica, Arial, sans-serif;\n\t\t\tfont-size: 0.875rem;\n\t\t\tline-height: 1.42857143;\n\t\t\tcolor: #333;\n\t\t\tbackground-color: #fff;\n\t\t\tpadding: 0;\n\t\t\tmargin: 0;\n\t\t}\n\n\t\tbody {\n\t\t\tpadding: 0;\n\t\t\tmargin: 0;\n\t\t}\n\n\t\ta {\n\t\t\tcolor:#00709e;\n\t\t}\n\n\t\th1, h2, h3, h4, h5, h6 {\n\t\t\tfont-weight: 200;\n\t\t\tline-height: 1.1;\n\t\t}\n\n\t\th1, .h1 { font-size: 3rem; }\n\t\th2, .h2 { font-size: 2.5rem; }\n\t\th3, .h3 { font-size: 1.5rem; '..., 9) /{PATH}/wp-includes/functions.php:5493
[23-Jul-2026 22:05:35 UTC] PHP 8. apply_filters($hook_name = 'w3tc_footer_comment', $value = [0 => 'Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin', 1 => '']) /{PATH}/wp-content/plugins/w3-total-cache/Generic_Plugin.php:964
[23-Jul-2026 22:05:35 UTC] PHP 9. WP_Hook->apply_filters($value = [0 => 'Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin', 1 => ''], $args = [0 => [0 => 'Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin', 1 => '']]) /{PATH}/wp-includes/plugin.php:205
[23-Jul-2026 22:05:35 UTC] PHP 10. W3TC\PgCache_ContentGrabber->w3tc_footer_comment($strings = [0 => 'Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin', 1 => '']) /{PATH}/wp-includes/class-wp-hook.php:341
[23-Jul-2026 22:05:35 UTC] PHP 11. __($text = 'Page Caching using %1$s%2$s%3$s', $domain = 'w3-total-cache') /{PATH}/wp-content/plugins/w3-total-cache/PgCache_ContentGrabber.php:1813
[23-Jul-2026 22:05:35 UTC] PHP 12. translate($text = 'Page Caching using %1$s%2$s%3$s', $domain = 'w3-total-cache') /{PATH}/wp-includes/l10n.php:307
[23-Jul-2026 22:05:35 UTC] PHP 13. get_translations_for_domain($domain = 'w3-total-cache') /{PATH}/wp-includes/l10n.php:195
[23-Jul-2026 22:05:35 UTC] PHP 14. _load_textdomain_just_in_time($domain = 'w3-total-cache') /{PATH}/wp-includes/l10n.php:1483
[23-Jul-2026 22:05:35 UTC] PHP 15. _doing_it_wrong($function_name = '_load_textdomain_just_in_time', $message = 'Translation loading for the <code>w3-total-cache</code> domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the <code>init</code> action or later.', $version = '6.7.0') /{PATH}/wp-includes/l10n.php:1445
[23-Jul-2026 22:05:35 UTC] PHP 16. wp_trigger_error($function_name = '', $message = 'Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>w3-total-cache</code> domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the <code>init</code> action or later. Please see <a href="/proxy?url=https%3A%2F%2Fdeveloper.wordpress.org%2Fadvanced-administration%2Fdebug%2Fdebug-wordpress%2F">Debugging in WordPress</a> for more information. (This message was added in version 6.7'..., $error_level = *uninitialized*) /{PATH}/wp-includes/functions.php:6084
[23-Jul-2026 22:05:35 UTC] PHP 17. trigger_error($message = 'Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>w3-total-cache</code> domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the <code>init</code> action or later. Please see <a href="/proxy?url=https%3A%2F%2Fdeveloper.wordpress.org%2Fadvanced-administration%2Fdebug%2Fdebug-wordpress%2F">Debugging in WordPress</a> for more information. (This message was added in version 6.7'..., $error_level = 1024) /{PATH}/wp-includes/functions.php:6170@maybellyne – As I said, “I realize these warnings don’t affect functionality (yet), but they really fill up our error logs.“
I just wanted to make sure it was on your radar, thank you.
We are running the latest Yoast SEO – version 28.0. The deprecation warnings appear in PHP 8.5, but not 8.4.
Forum: Plugins
In reply to: [Nested Pages] Fatal ErrorThis is still happening – the plugin is not usable until the issue is fixed.
Forum: Plugins
In reply to: [WooCommerce] PHP 8.3 Deprecation NoticeSure, it can be found here: https://github.com/woocommerce/woocommerce/issues/52339
Forum: Plugins
In reply to: [WooCommerce] PHP 8.3 Deprecation NoticeThat did not help – this is a bug in the code. I submitted a Github issue though – hopefully they’ll understand over there.
Forum: Plugins
In reply to: [Payment Gateway Based Fees and Discounts for WooCommerce] Deprecation NoticeThanks for your response. After a little digging, this is a WooCommerce issue (latest version) with PHP 8.3. The notice occurs on the checkout page any time you use the WC_Cart::add_fee() method.
I will submit this to the WooCommerce team – thanks again.
It worked great this morning & I dig the new site – much cleaner and simpler.
Thanks so much for the response and this great resource!
Great – thank you!
Forum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] Notice: Undefined index: use_captionIt looks like that did the trick – thank you!
Forum: Plugins
In reply to: [Table Field Add-on for ACF and SCF] Notice: Undefined index: use_captionI just updated to 1.3.0 and am receiving the same error notices:
Undefined index: use_caption in {site}/wp-content/plugins/advanced-custom-fields-table-field/acf-table-v5.php on line 481I’m running WordPress 5.1, ACF Pro 5.7.12.