Accelerated-mobile-pages: Notice after plugin activation | AMP_QUERY_VAR

Created on 19 Sep 2016  路  6Comments  路  Source: ahmedkaludi/accelerated-mobile-pages

Notice: Use of undefined constant AMP_QUERY_VAR - assumed 'AMP_QUERY_VAR' in /.../wp-content/plugins/accelerated-mobile-pages/accelerated-moblie-pages.php on line 18

Notice: Use of undefined constant AMP_QUERY_VAR - assumed 'AMP_QUERY_VAR' in /.../wp-content/plugins/accelerated-mobile-pages/accelerated-moblie-pages.php on line 19

v0.8.1

All 6 comments

After installing the required AMP plugin, I get:

Notice: Undefined index: type in /.../wp-content/plugins/accelerated-mobile-pages/includes/options/redux-framework/framework.php on line 1226

Notice: Undefined index: type in /.../wp-content/plugins/accelerated-mobile-pages/includes/options/redux-framework/framework.php on line 1231

Notice: Undefined index: type in /.../wp-content/plugins/accelerated-mobile-pages/includes/options/redux-framework/framework.php on line 1146

Notice: Undefined index: type in /.../wp-content/plugins/accelerated-mobile-pages/includes/options/redux-framework/framework.php on line 1147

Notice: Undefined index: type in /.../wp-content/plugins/accelerated-mobile-pages/includes/options/redux-framework/framework.php on line 1153

Notice: Undefined index: type in /.../wp-content/plugins/accelerated-mobile-pages/includes/options/redux-framework/framework.php on line 1174

On frontend I get

Notice: Undefined index: opt-media in /.../wp-content/plugins/accelerated-mobile-pages/templates/header.php on line 7

We will look into this and fix it in the upcoming updates.

For now, you can set the debug 'false' in wp-config.php to hide them from the website.

Thank you so much for using our plugin and reporting the error.

Regards,
Ahmed

This really should get fixed soon, in my opinion.

Hey Aaron @technosailor

Yes! We're actually working on fixing this. we will fix this in the next update as soon as possible.

Thank you so much for helping us improve the plugin with your feedback. I have a great respect for the work you guys are doing at @10up ! :)

Regards,
Ahmed Kaludi

All the above-mentioned warnings have been fixed in #300 and will be pushed in the update V0.9.33

Thank you @moldcraft and @technosailor for your feedback.

Was this page helpful?
0 / 5 - 0 ratings