almendron
Forum Replies Created
-
I will check if the error has disappeared when I upgrade to the new version. I always wait a few days.
To clarify, were you using this exact code before without any trouble, and it’s only become an issue with later versions of Jetpack?
Yes. The code worked perfectly up to version 8.1.1
If you can confirm this was fine in 8.2.2
Verion 8.2.2: error
This filter is not used to check but to alter the activation of modules on the fly.
https://jetpack.wp-a2z.org/oik_api/jetpackis_module_active/
There is an error in that function that causes the mentioned error
$bool = Jetpack::is_module_active( 'publicize' );=> Error.Forum: Plugins
In reply to: [Broken Link Checker] Error “recheck” (versión 1.11.11)Solved in version 1.11.12. Thanks
1) https://github.com/Automattic/jpop-issues/issues/4799 : page not found
2) How to verify if a Jetpack module is active?
if (!class_exists('Jetpack') || !Jetpack::is_module_active('publicize')) return;It worked until version 8.1.1
Now it doesn’t work
How is it verified in the current version?I have found the origin of the problem: plugin https://es.wordpress.org/plugins/publicize-with-hashtags/
Have you changed the way to check if a specific JetPack module is activated?
In the mentioned plugin:
if (!class_exists('Jetpack') || !Jetpack::is_module_active('publicize')) return;In addition to that check, only the use of “_wpas_mess” could be the problem. The code restraint should not affect.
More data:
1) In almendron.com there are three sites. In two of them the error does not occur.
2) The three sites share themes and plugins
3) Local server: no problem
4) Version 8.1.1: no problem
- This reply was modified 6 years, 3 months ago by almendron.
https://github.com/Automattic/jpop-issues/issues/4799 : page not found
apache.error.log
[Fri Feb 28 17:00:03.188423 2020] [proxy_fcgi:error] [pid 725] [client 8.29.198.25:33715] AH01071: Got error ‘PHP message: PHP Notice: Jetpack_Options was called incorrectly. Not all plugins have loaded yet but we requested the class Jetpack_Options Please see Debugging in WordPress for more information. (This message was added in version 1.1.2.0.) in /usr/home/almendron/www/tribuna/wp-includes/functions.php on line 4989′
Forum: Plugins
In reply to: [Broken Link Checker] Error “recheck” (versión 1.11.11)I hope they solve it soon
Best regards,
MiguelForum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Console ErrorProblem solved. Greetings.
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Console Error– If you add a plugin to load CSS asynchronously, you get this error about a font not loading. Likely because it’s imported via CSS. And when this happens you get an error, but only in the JS console, correct? Are you seeing it anywhere else?
correct ? Yes
Are you seeing it anywhere else? No– Solution: allow this CSS to load on demand instead of asynchronously.
Like I said, I added an exception to the plugin that I use to load CSS files asynchronously.
Can you also let us know what plugin you are using?
https://es.wordpress.org/plugins/async-js-and-css/
I only use it for loading CSS with option “I only use it for loading CSS with option “inserting ALL CSS CODE INLINE into the document (the fastest way)”
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Console ErrorTest on a local server:
1) Plugin deactivated, deleted and then installed.
2) Console Error: “downloadable font: download failed (font-family:…..”
To solve the error: it is necessary to disable asynchronous loading of “social-logos.min.css”.
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Console ErrorAnyway, I will do the test (disable, delete and install JetPack) on a local server with asynchronous loading enabled
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Console ErrorIt is not necessary to do that test.
The error occurs when a method (plugin or code) is used to asynchronously load CSS files.
If the code is deactivated, then the error disappears.
Solution: I added an exception to the plugin that I use to load CSS files asynchronously.
- This reply was modified 6 years, 4 months ago by almendron.