• Resolved alanjeff

    (@alanjeff)


    Hello,

    I installed the AMP for WP plugin but am receiving a notice of an undefined index: ampforwp-amp-on-off in wp-content/plugins/accelerated-mobile-pages/templates/features.php on line 100. How do I fix this error?

    Thank you.

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

    (@ampforwp)

    Hi @alanjeff,

    It’s just a small notification, there’s nothing to be worried about.
    Disable the WP_Debug, that will solve your problem.

    Regards
    Marqas

    Thread Starter alanjeff

    (@alanjeff)

    Thank you Marqas.

    Plugin Contributor ampforwp

    (@ampforwp)

    Hey @alanjeff,

    Is our plugin works perfectly for you now?

    Regards
    Marqas

    Thread Starter alanjeff

    (@alanjeff)

    Thank you Marqas.

    It is working better but I am only seeing it on my blog posts and not on all my pages although I thought the feature would work across the site. Is there something I need to check to make this happen?

    Thank you again.

    Plugin Contributor ampforwp

    (@ampforwp)

    Hi @alanjeff,

    Our plugin works on Pages as well.
    There is an option to enable/disable AMP on pages in our AMP settings.

    Enable it and select show amp on page settings.

    Hope it helps.

    Regards
    Marqas

    Thread Starter alanjeff

    (@alanjeff)

    Thank you Marqas.

    I guess I was looking at the pages incorrectly with a /amp instead of ?amp at the end.

    Thank you again.

    Hi.
    How do I disable WP_debug?
    Tnks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Undefined index: ampforwp-amp-on-off’ is closed to new replies.