• Resolved manizk

    (@manizk)


    I am getting this warning “Warning: Use of undefined constant AIOSEO_VERSION – assumed ‘AIOSEO_VERSION’ (this will throw an Error in a future version of PHP) in /home/customer/www/travelobiz.com/public_html/wp-content/plugins/accelerated-mobile-pages/templates/features.php on line 3333” after update the plugin.

    This warning is showing on all the pages of my website. How can I fix this issue?

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Same error for me :

    constant AIOSEO_VERSION – assumed ‘AIOSEO_VERSION’ (this will throw an Error in a future version of PHP) in /home/clients/monsite/web/wp-content/plugins/accelerated-mobile-pages/templates/features.php on line 3333

    I had to go back to the previous version

    error confirmed!
    same here….

    After updating AMP for WP to version 1.0.76.11, I am getting the same AIOSEO_VERSION error as manzik and worshipper above. I used Rollback to return to 1.0.76.10 and the error message disappears.

    short fix:

    modify file in plugins/accelerated-mobile-pages/templates/features.php

    comment out line: 3332-3335

    eg.
    // All in One Seo Compatibility #1557
    // if(version_compare(AIOSEO_VERSION,’4.0.0′, ‘<‘)){
    // add_filter(‘aioseop_amp_description’, ‘__return_false’);
    //}

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    we have already created a ticket on this issue in Github and our developer will look into it and fix it soon. Once it is done we will update you.

    This is the ref link of the ticket:
    https://github.com/ahmedkaludi/accelerated-mobile-pages/issues/4986

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    The error has been fixed in our latest update (1.0.76.12). Can you please check it once by updating the plugin and let us know back?

    work… thx

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Warning: Use of undefined constant AIOSEO_VERSION’ is closed to new replies.