[wp-trac] [WordPress Trac] #18414: Fatal error: Cannot redeclare class

WordPress Trac wp-trac at lists.automattic.com
Mon Aug 15 16:35:15 UTC 2011


#18414: Fatal error: Cannot redeclare class
--------------------------+-----------------------------
 Reporter:  aliaamirbrw   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  3.2.1
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 I m facing the following error while activate the wp-covert-linkz-plugin

 *Plugin could not be activated because it triggered a fatal error.

 Fatal error: Cannot redeclare class CF4FA567E254B62C4FA9CEAE36ECD89CE in
 /home/public_html/demo/wp-content/plugins/wp-covert-linkz-
 plugin/StealthLinks.php on line 1

 php code is following,

 {{{
 <?php   class CF4FA567E254B62C4FA9CEAE36ECD89CE{    function CreateMenu()
 {     add_options_page('Wordpress Covert Linkz', 'Covert Linkz', 10,
 'wpStealthLinksOptions', array($this,'OptionsPage'));}function
 OptionsPage()    {     ?><div class="wrap"><h2>Wordpress Covert
 Linkz</h2><form method="post" action="options-
 general.php?page=wpStealthLinksOptions"><table><tr><th>Your Link
 Title</th><th>Affiliate Link</th></tr><tr><td><small> <?php echo
 get_option('home'); ?>
 }}}


 Kindly help me to resolve the issue.
 Thanks!

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18414>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list