freaking1 / wordpress-custom-content-type-manager

Automatically exported from code.google.com/p/wordpress-custom-content-type-manager
0 stars 0 forks source link

Issues after upgrading CCTM and Summarize posts #300

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

I upgarded CCTM to the latest version and then I upgraded Summarize posts. 
After that it started showing me following error

The Summarize Posts plugin cannot load correctly! Another plugin has declared 
conflicting class, function, or constant names:

          Class: uninstall_cctm

You must deactivate the plugins that are using these conflicting names.

Now I m not able to see my custom content types I created on the left side of 
the admin and I also unable to see summarize posts page in admin.

Please Help in solving this problem.

Thanks

Original issue reported on code.google.com by hpt.ar...@gmail.com on 26 Jan 2012 at 6:55

GoogleCodeExporter commented 9 years ago
You cannot declare the same class twice: this is a reality of PHP.  The 
solution is to deactivate the Summarize Posts plugin.  I wrote code to check 
for this condition (and you're seeing the error message), but given WP's 
limited architecture, it's impossible to dictate which plugin loads first, so 
you're seeing the error message generated from Summarize Posts, which isn't as 
verbose as the that would have been generated by the CCTM.  Just deactivate it 
and you should be set.  

There were a lot of things that had to be tweaked to handle edge-cases, so I 
wouldn't be surprised if there are still other edge cases that need to be 
handled, but the core functionality of Summarize Posts is now integrated.  If 
you come across any of these, please report them under a separate bug report.

Original comment by ever...@fireproofsocks.com on 27 Jan 2012 at 1:37