Problems with 'accelerated-mobile-pages' plugin

Posted in: Newspaper
Post count: 1

Hello!

After installing plugin ‘accelerated-mobile-pages’ we had errors in Newspaper theme (v. 8.6).

[18-Jan-2018 16:11:05 UTC] PHP Fatal error: require_once(): Failed
opening required
‘/home/virtualmin/kloop.kg/public_html/wp-content/plugins/accelerated-mobile-pages/includes/vendor/amp//templates/functions.php’
(include_path=’.:/usr/share/php:/usr/share/pear’) in
/home/virtualmin/kloop.kg/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_wp_booster_functions.php
on line 29
[18-Jan-2018 16:11:05 UTC] PHP Stack trace:
[18-Jan-2018 16:11:05 UTC] PHP 1. {main}()
/home/virtualmin/kloop.kg/public_html/index.php:0
[18-Jan-2018 16:11:05 UTC] PHP 2. require()
/home/virtualmin/kloop.kg/public_html/index.php:17
[18-Jan-2018 16:11:05 UTC] PHP 3. require_once()
/home/virtualmin/kloop.kg/public_html/wp-blog-header.php:13
[18-Jan-2018 16:11:05 UTC] PHP 4. require_once()
/home/virtualmin/kloop.kg/public_html/wp-load.php:37
[18-Jan-2018 16:11:05 UTC] PHP 5. require_once()
/home/virtualmin/kloop.kg/public_html/wp-config.php:130
[18-Jan-2018 16:11:05 UTC] PHP 6. include()
/home/virtualmin/kloop.kg/public_html/wp-settings.php:426
[18-Jan-2018 16:11:05 UTC] PHP 7. require_once()
/home/virtualmin/kloop.kg/public_html/wp-content/themes/Newspaper/functions.php:22

because of that code from /wp-content/themes/Newspaper/functions.php

if (td_util::is_amp_plugin_installed()) {
require_once AMP__DIR__ . “/templates/functions.php”;
}

after commenting these lines site works, both plugins AMP and accelerated-mobile-pages have no such file in template directory.

Post count: 20688

Hi,

We have tested the theme with this amp plugin only
https://wordpress.org/plugins/amp/
It works with that plugin, we plan however to implement amp support by default within the mobile theme plugin provided in the theme package. This may happen as soon as the next update, I could not say for sure.

Thanks

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.