//
you're reading...
Uncategorized

Conflicts with CRED plugin (Alphabetic Pagination)

Alphabetic Pagination

Jonah Brown reported an issue that upon activation I get:
Fatal error: Cannot redeclare pre() (previously declared in /home/nwsprind/public_html/new/wp-content/plugins/alphabetic-pagination/functions.php:14) in /home/nwsprind/public_html/new/wp-content/plugins/cred-frontend-editor/classes/CRED.php on line 4

CRED was developed by WordPress-Types and was found here: http://wp-types.com/home/cred/


Fahad answered: It was already handled with the following condition in alphabetic pagination if(!function_exists(‘pre’)){ function pre($data){

I suggest you to put the same condition in CRED.php where this function exists. If you were not sure that how to do it; let me know i will fix it for you in next revision.


Advertisements

Discussion

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: