Support » Plugin: Post Expirator » PHP Fatal error line 18

  • Any thoughts and workarounds on the error below: line 18 is add_action(‘plugins_loaded’, ‘postExpirator_init’);

    PHP Fatal error: Call to undefined function add_action() in /home/sites/ on line 18
    Status: 500 Internal Server Error
    X-Powered-By: PHP/5.2.17
    Content-type: text/html

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Aaron Axelsen


    add_action is a core wordpress function – I would try reinstalling your main wordpress site, something isn’t right

    Thanks Aaron
    I am now of the opinion that it is a hosting Co problem.

    I am getting bounced back by a second hosting Co.
    They say add_action is the plugin fault.
    I have transferred my site from one hosting Co to another to cure this problem.( to

    In your view if I reinstall WP would that (possibly) solve the add-action problem.

    Plugin Author Aaron Axelsen


    I would start by re-downloading the core WP files to make sure everything is intact

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PHP Fatal error line 18’ is closed to new replies.