tagDiv AMP Plugin Error

Posted in: Newspaper
Post count: 8

I get the following error after installing the tagDiv AMP theme.

Unpacking the package…

Installing the plugin…

Plugin installed successfully.

Fatal error: Cannot redeclare amp_activate() (previously declared in /home/projectc/public_html/wp-content/plugins/amp/amp.php:131) in /home/projectc/public_html/wp-content/plugins/td-amp/td-amp.php on line 47

Post count: 75

@digitalchew the solution in your case very simple!
You have to deactivate and perhaps delete original AMP plugins from Automattic team, and after you be able to activate AMP plugin from tagDiv team.

Post count: 8

I did this and I got the following error:

Notice: is_amp_endpoint was called incorrectly. is_amp_endpoint() was called before the ‘parse_query’ hook was called. This function will always return ‘false’ before the ‘parse_query’ hook is called. Please see Debugging in WordPress for more information. (This message was added in version 0.4.2.) in /home/projectc/public_html/wp-includes/functions.php on line 4231

Post count: 75

@digitalchew this sounds weird ?

It’s not easy debug your situation via forum.
Which theme version you use?
AMP plugin version?

Feel free contact me directly http://bit.ly/2AXJWYX

Post count: 35449

Hi digitalchew,

This problem is usually happen when is a conflict between plugins, you can give it a try, delete the plugin, deactivate all non theme plugins, clear all cache and install the AMP plugin again.

If there is still a problem, you can send us an email at contact@tagdiv.com and provide admin login, as well as cPanel or FTP if possible. We will take a look. Include a link to this topic in the email.

Thank you.

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