WordPress.org

Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#18414 closed defect (bug) (invalid)

Fatal error: Cannot redeclare class

Reported by: aliaamirbrw Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.2.1
Component: General Keywords:
Focuses: Cc:

Description

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!

Change History (1)

#1 @SergeyBiryukov
10 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Please use the support forums for help requests: http://wordpress.org/support/

Note: See TracTickets for help on using tickets.