awesomemotive / all-in-one-seo-pack

All in One SEO plugin for WordPress SEO
https://aioseo.com
339 stars 155 forks source link

Bug - $requested_page is not an object (robots-meta.php) #3015

Closed icjq closed 4 years ago

icjq commented 4 years ago

in pagination of homepage, I get error notice that $requested_page is not an object in /inc/general/aioseop-robots-meta.php line 132 and line 136

arnaudbroes commented 4 years ago

@icjq thank you for reporting this. Is your paginated homepage a regular Page or is it a special kind of page like a WooCommerce Shop page?

icjq commented 4 years ago

It's a regular page.

I noticed that several people also reflected the same problem, not just me.

arnaudbroes commented 4 years ago

It's a regular page. I noticed that several people also reflected the same problem, not just me.

Thank you for your prompt response.

We'll try to reproduce this on our end and get a bug fix out ASAP. In the meanwhile, you might want to disable WP_DEBUG in your wp-config.php file so that the error is no longer displayed on your frontpage.

icjq commented 4 years ago

WP_DEBUG has been defined as false, but the error still displayed.

arnaudbroes commented 4 years ago

WP_DEBUG has been defined as false, but the error still displayed.

Gotcha. We'll try to get a bug fix out ASAP.

michaeltorbert commented 4 years ago

Closing as a duplicate of #3014