• Resolved dogacankanat

    (@dogacankanat)


    Hello,

    Wordpress 4.7.4 (Multisite with 6 subdirectory blogs)
    X Pro 1.0.2 theme
    PHP 7.1.3

    I receive below error in my wordpress debug.

    PHP Notice: Undefined index: cpage in /data/www/20646/WEBSITENAME/www/wp-content/plugins/accelerated-mobile-pages/templates/features.php on line 126

    Any idea what can be the issue?

    Line 126 of my features.php as below:

    if( is_singular() && $wp->query_vars['cpage'] >= '2' ) {

    Thanks in advance.

    Regards,

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor ampforwp

    (@ampforwp)

    Hey @dogacankanat

    Thank you so much for using our plugin.

    We are already aware of this one, we already fixed this. However, you are seeing this error because WP_Debug enabled. Kindly disable WP_debug so that you won’t see this warning.

    Hope it helps.

    Let me know if you have any more questions.

    Thread Starter dogacankanat

    (@dogacankanat)

    Hello,

    Thanks for the quick response.

    The fix will be included in the next update?

    Btw, I think it is better to leave wp-debug.log on so that we can see if any problems occur ??

    Regards,
    DYK

    Plugin Contributor ampforwp

    (@ampforwp)

    Hey @dogacankanat

    We have already fixed the issue. We just need to push an update of our plugin.

    And Turning On or Off WP_Debug is up to you.

    Let me know if you have any more questions. I will be happier to help you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Undefined index: cpage’ is closed to new replies.