Title: Strict Standards Error
Last modified: August 21, 2016

---

# Strict Standards Error

 *  Resolved [arudd](https://wordpress.org/support/users/arudd/)
 * (@arudd)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/strict-standards-error-11/)
 * Strict Standards: Redefining already defined constructor for class Ce_Wp_Menu_Per_Page
   in /plugins/ce-wp-menu-per-page/ce-wp-menu-per-page.php on line 38
 * The plugin generated 246 characters of unexpected output during activation. If
   you notice “headers already sent” messages, problems with syndication feeds or
   other issues, try deactivating or removing this plugin.
 * [https://wordpress.org/plugins/ce-wp-menu-per-page/](https://wordpress.org/plugins/ce-wp-menu-per-page/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [arudd](https://wordpress.org/support/users/arudd/)
 * (@arudd)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/strict-standards-error-11/#post-4793124)
 * I turned off debug and the errors went away
 *  [ippf](https://wordpress.org/support/users/ippf/)
 * (@ippf)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/strict-standards-error-11/#post-4793455)
 * With debug off it is working, but how to fix with debug on?
 *  [ippf](https://wordpress.org/support/users/ippf/)
 * (@ippf)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/strict-standards-error-11/#post-4793456)
 * If you go to Ce_Wp_Menu_Per_Page.php file you will see there is a class declared
 *     ```
       class Ce_Wp_Menu_Per_Page {
          ...
       }
       ```
   
 * and a constructor declared
 *     ```
       function __construct() {
          ...
       }
       ```
   
 * Just before that constructor you will see a function that has same name as class
   name.
 *     ```
       function Ce_Wp_Menu_Per_Page() {
           self::__construct();
       }
       ```
   
 * You need to remove this function or comment it.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Strict Standards Error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/ce-wp-menu-per-page.svg)
 * [CE WP-Menu per Page](https://wordpress.org/plugins/ce-wp-menu-per-page/)
 * [Support Threads](https://wordpress.org/support/plugin/ce-wp-menu-per-page/)
 * [Active Topics](https://wordpress.org/support/plugin/ce-wp-menu-per-page/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ce-wp-menu-per-page/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ce-wp-menu-per-page/reviews/)

## Tags

 * [standards](https://wordpress.org/support/topic-tag/standards/)

 * 3 replies
 * 2 participants
 * Last reply from: [ippf](https://wordpress.org/support/users/ippf/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/strict-standards-error-11/#post-4793456)
 * Status: resolved