Joshua Fredrickson
Forum Replies Created
-
Many thanks! I’ll be sure to keep an eye on the new version.
This has happened across dozens of sites and has been a regular battle for the past 2.5 years. It only occurs with
WP_DEBUG
enabled. That’s the only common thread I’ve found beyond it being caused by AIOSEO. Deactivating AIOSEO (free or pro–doesn’t matter which), removes the error.@temereva describes the exact issue in more detail in this comment.
Forum: Plugins
In reply to: [Environment & Debug Bar] Doesn’t correctly read WP_ENVMany many thanks!
I mean, it is related as it’s the only plugin across three sites that handed out fatal errors due to SiteGround’s limitation. There are ways for the plugin to more gracefully fail, and an uncaught exception isn’t one of them. It would take just a little bit of effort to sidestep this issue.
I guess the crux of it is that there should be a warning about inability to write files vs taking down the entire site (both frontend and admin).
Forum: Plugins
In reply to: [Gallery Plugin for WordPress - Envira Photo Gallery] PHP8 WarningsI’m seeing this as well. It occurs when editing any post in the block editor.
Changelog suggests PHP8 notices were fixed back in 1.8.4.0, but I guess they missed one.
I dunno. I’m still seeing this in WP 6.1, AIOSEO 4.2.4 and PHP 8.0. Specifically, when attempting to view a CPT listing in admin. I’m seeing this across quite a few sites on several different themes.
? php -v PHP 8.0.21 (cli) (built: Jul 7 2022 13:13:21) ( NTS ) ? wp core version 6.0.1 ? wp plugin list +-------------------------------------+----------+--------+---------+ | name | status | update | version | +-------------------------------------+----------+--------+---------+ ... | all-in-one-seo-pack | active | none | 4.2.4 |
wp-admin/edit.php?post_type=example
:Fatal error: Uncaught TypeError: json_decode(): Argument #1 ($json) must be of type string, array given in /site/wp-content/plugins/all-in-one-seo-pack/app/Common/Help/Help.php:73 Stack trace: #0 /site/wp-content/plugins/all-in-one-seo-pack/app/Common/Help/Help.php(73): json_decode(Array, true) #1 /site/wp-content/plugins/all-in-one-seo-pack/app/Common/Traits/Helpers/Vue.php(164): AIOSEO\Plugin\Common\Help\Help->getDocs() #2 /site/wp-content/plugins/all-in-one-seo-pack/app/Common/Standalone/DetailsColumn.php(117): AIOSEO\Plugin\Common\Utils\Helpers->getVueData() #3 /site/wp-includes/class-wp-hook.php(307): AIOSEO\Plugin\Common\Standalone\DetailsColumn->enqueueScripts('edit.php') #4 /site/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #5 /site/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #6 /site/wp-admin/admin-header.php(118): do_action('admin_enqueue_s...', 'edit.php') #7 /site/wp-admin/edit.php(397): require_once('/site/...') #8 /Users/joshf/.composer/vendor/laravel/valet/server.php(234): require('/site/...') #9 {main} thrown in /site/wp-content/plugins/all-in-one-seo-pack/app/Common/Help/Help.php on line 73
Fonts enqueued per the above.
CSS:
h1, h2 { font-family: Merriweather,serif; }
When signed in and Optimization enabled, the site properly enqueues the font:
<link rel="stylesheet" id="google-fonts-css" href="https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,400;0,900;1,900&family=Open+Sans:wght@400;600;800&display=swap" media="all">
When logged out with Optimization enabled, the above line isn’t added to the head. The
prefetch
anddns-prefetch
tags are there, but no link to the stylesheet.Forum: Plugins
In reply to: [Duplicate Post] Errors on top screenI agree that these notices aren’t as important in production, but it makes developing a site (with
WP_DEBUG
intentionally enabled) quite difficult as every admin screen is affected and essentially broken.Thanks for the link! I’ll give it a go.
Forum: Plugins
In reply to: [Duplicate Post] Errors on top screenThese notices make it challenging to develop a site with your plugin activated. Yes, they’re deprecations, but PHP 8.0 was released in 2020. ?? It’s time to update the plugin.
I can confirm that this has cropped back up across several different sites I’ve seen. We’ve had to migrate to Yoast for a few of them as the error proved too difficult to work around in some staging environments.
To confirm, this is using the “Cool Timeline Block” in horizontal mode.
The Image Size option described here doesn’t appear:
https://docs.coolplugins.net/doc/cool-timeline-pro/create-timeline-using-instant-timeline-builder/story-setting/- This reply was modified 2 years, 5 months ago by Joshua Fredrickson.
Yep! Looks good on the latest version.
Thanks!
I tried this on three different sites as well as incognito window. Same results unfortunately.
Forum: Plugins
In reply to: [Page Builder by SiteOrigin] Editor Bug – Conflict with Duplicate PageThis is a temporary fix, right? I’m hoping an official fix will make it into the next version. ??
Forum: Plugins
In reply to: [Simple Sales Tax] Unnecessary assets loaded on frontendGreat thanks!
In the interim, I’ve dequeued those two stylesheets.
add_action('wp_enqueue_scripts', function () { wp_dequeue_style('sst-modal-css'); wp_dequeue_style('sst-certificate-modal-css'); }, 100);
I’m sure that will have some side effects. Where do the modal and certificate modal come into play? I didn’t see any mention of them in the docs/faqs.
Appreciate the assist.