Maciej Ma?kowiak
Forum Replies Created
-
– Are you using the official AMP plugin?
Yes, version 2.0.11
When I’ve updated to version 2.1.2 the error was gone, but I think it should still be fixed
– At what stage do you encounter this error? Were you accessing the Stories dashboard, or opening the editor?
Oh, right sorry – I cannot access any AMP page, I’m using transitional mode.Web stories plugin version 1.7.1 is working with the AMP WP 2.0.11
Looks like the issue is this change:
https://github.com/google/web-stories-wp/compare/v1.7.1…v1.7.2#diff-2b237f0c956393314644a70ed2a1e947e359d198526565d1ab813cc7a189250bR247Forum: Plugins
In reply to: [W3 Total Cache] Stop flushing whole object cache on post update.Yes, the whole object cache should not be cleared on every post/page update.
Only post related objects should be cleared on post update like for example here:
https://core.trac.www.ads-software.com/browser/tags/5.6.2/src/wp-includes/post.php#L6937wp_cache_delete( $post->ID, 'posts' ); wp_cache_delete( $post->ID, 'post_meta' ); clean_object_term_cache( $post->ID, $post->post_type ); wp_cache_delete( 'wp_get_archives', 'general' );
Thanks!
Forum: Plugins
In reply to: [W3 Total Cache] PHP 7.4 supportThanks for quick support!
Forum: Plugins
In reply to: [W3 Total Cache] PHP 7.4 supportHi,
Thanks for quick replay.Version 0.13.1
And yes, you are of course right, I’ve copied wrong line from the logs, sorry about it.
Here is the culprit:
https://plugins.trac.www.ads-software.com/browser/w3-total-cache/tags/0.13.1/lib/OAuth/W3tcOAuth.php#L102
/plugins/w3-total-cache/lib/OAuth/W3tcOAuth.php(102)
Thanks
Thank you for quick fix(like always),
everything works perfectly!Best regards
Maciej Ma?kowiakDone.
And remote debugging is active for as long as You need.Thanks for quick replay.
I’ve enabled remote debugging, but where can I send You a link?
Because I’d prefer not to share it in public.perfect ??
it look like it does the trick, errors are gone ??
thanks
sorry @keraweb , i’ve haven’t seen that You replayed
steps to reproduce:
1. fresh wp install with just two – Your plugin and AMP
https://www.ads-software.com/plugins/amp/
2. template mode – Standard or Transitional – both produced an error
3. theme – Twenty SixteenVersion: 2.0
4. go to home page and click in wp admin bar -> AMP->AMP revalidate( https://imgur.com/a/ttU5cLy )stack trace:
PHP Fatal error: Uncaught Error: Cannot use object of type Closure as array in /var/www/html/wp-content/plugins/widget-css-classes/includes/widget-css-classes.class.php:747
Stack trace:
#0 /var/www/html/wp-content/plugins/widget-css-classes/includes/widget-css-classes.class.php(469): WCSSC::get_widget_opt(Array)
#1 /var/www/html/wp-content/plugins/amp/includes/validation/class-amp-validation-manager.php(1544): WCSSC::add_widget_classes(Array)
#2 /var/www/html/wp-content/plugins/amp/includes/validation/class-amp-validation-manager.php(1254): AMP_Validation_Manager::{closure}(Array)
#3 /var/www/html/wp-includes/class-wp-hook.php(286): AMP_Validation_Manager::{closure}(Array)
#4 /var/www/html/wp-includes/plugin.php(208): WP_Hook->apply_filters(Array, Array)
#5 /var/www/html/wp-includes/widgets.php(738): apply_filters(‘dynamic_sidebar…’, Array)
#6 /var/www/html/wp-content/themes/twentysixteen/sidebar.php(13): dynamic_sidebar(‘sidebar-1’)
#7 /var/www/html/wp-includes/template.php(722): require_once(‘/var/www/html/w…’)
#8 /var/ in /var/www/html/wp-content/plugins/widget-css-classes/includes/widget-css-classes.class.php on line 747hope it helps ??
best regardsi’ve got the same errornotice
and i think it is related to php 7.3
https://www.php.net/manual/en/function.compact.phpChangelog
Version Description
7.3.0 compact() now issues an E_NOTICE level error if a given string refers to an unset variable. Formerly, such strings have been silently skipped.@keraweb any news?
thanks for replay,
so to check if it is not related with any other plugins i made a clean wordpress instalation with only Your plugin and AMP pluginthis error occurs once You click View AMP -> Re-validate link in wp admin bar https://imgur.com/a/LhyXubO
WP Version: 5.1.1
PHP Version: 7.3
Other plugins: AMP plugin
Theme: Twenty sixteenbest regards