ahmedkaludi / accelerated-mobile-pages

Automatically add Accelerated Mobile Pages (AMP Project) functionality on your WordPress.
http://ampforwp.com
Other
176 stars 96 forks source link

Warning: Undefined property: stdClass::$inContentPlacementMethod #5607

Closed randyliugogoout closed 5 months ago

randyliugogoout commented 6 months ago

There is an error message showed below:

Warning: Undefined property: stdClass::$inContentPlacementMethod in /var/www/html/blog/wp-content/plugins/accelerated-mobile-pages/templates/features.php on line 9996 Warning: Undefined property: stdClass::$afterParagraphNumbers in /var/www/html/blog/wp-content/plugins/accelerated-mobile-pages/templates/features.php on line 10004 Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /var/www/html/blog/wp-content/plugins/accelerated-mobile-pages/templates/features.php:10004 Stack trace: #0 /var/www/html/blog/wp-includes/class-wp-hook.php(310): ampforwp_publisher_desk_ads('\r\n\r\n

I'm not familiar with php, therefore, I don't know how to solve. Is there any solution for this problem?

AMPforWP has been already updated to version 1.0.95

Sdaud1950 commented 5 months ago

https://magazine3.in/conversation/283413?folder_id=29

akshaywali commented 5 months ago

pushed in 1.0.96