Title: Fatal error: Cannot redeclare aps_admin_init()
Last modified: March 13, 2017

---

# Fatal error: Cannot redeclare aps_admin_init()

 *  [Divvy](https://wordpress.org/support/users/divvy/)
 * (@divvy)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-aps_admin_init/)
 * Hello guys,
 * I have this plugin working in 2 blogs and everything is great!
    But now I’m trying
   to install in a new blog but I get the following error when I try to activate:
 * > **Fatal error:** Cannot redeclare aps_admin_init() (previously declared in /
   > home/username/public_html/wp-content/plugins/automatic-post-scheduler/settings.
   > php:8) in **/home/username/public_html/wp-content/plugins/auto-post-scheduler/
   > auto-post-scheduler.php** on line **31**
 * Any idea how to fix this? 🙂
 * Thanks!

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

 *  Plugin Author [johnh10](https://wordpress.org/support/users/johnh10/)
 * (@johnh10)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-aps_admin_init/#post-8912278)
 * Hello,
 * Auto Post Scheduler does not have a file settings.php
    Please double check it.
 *  Thread Starter [Divvy](https://wordpress.org/support/users/divvy/)
 * (@divvy)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-aps_admin_init/#post-8913941)
 * Hey John,
 * Thank you for your fast reply, and congratulations for your great plugin! Is 
   working great in two websites that I have 🙂
 * Yeah you are right, it doesnt have a file settings.php, I dont understand why
   my wordpress is giving me that error than… Both installations in other two websites
   was very smooth.
 * Any idea of what could be?
    I already tried to delete the plugin and download
   again, but always gives me same fatal error.

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

The topic ‘Fatal error: Cannot redeclare aps_admin_init()’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/auto-post-scheduler_bfcacf.svg)
 * [Auto Post Scheduler](https://wordpress.org/plugins/auto-post-scheduler/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/auto-post-scheduler/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/auto-post-scheduler/)
 * [Active Topics](https://wordpress.org/support/plugin/auto-post-scheduler/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/auto-post-scheduler/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/auto-post-scheduler/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Divvy](https://wordpress.org/support/users/divvy/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-aps_admin_init/#post-8913941)
 * Status: not resolved