WordPress.org

Support

Support » Plugins and Hacks » Donately Donation Form » [Resolved] Fatal Error

[Resolved] Fatal Error

  • Can’t activate the plugin… here is the error..

    Warning: require_once(__DIR__/lib/posttypes.php) [function.require-once]: failed to open stream: No such file or directory in /home1/blahblah/public_html/wp-content/plugins/donately-donation-form/dntly.php on line 29
    
    Fatal error: require_once() [function.require]: Failed opening required '__DIR__/lib/posttypes.php' (include_path='.:/usr/lib64/php:/usr/lib/php') in /home1/blahblah/public_html/wp-content/plugins/donately-donation-form/dntly.php on line 29

    http://wordpress.org/extend/plugins/donately-donation-form/

Viewing 2 replies - 1 through 2 (of 2 total)
  • I was able to fix it, on line 26 of the dntly.php copy and paste this code in
    define( 'DNTLY_PLUGIN_PATH', plugin_dir_path(__FILE__) );

    Plugin Author shanaver

    @shanaver

    thanks for posting the fix for this – that error happens if you’re using anything before PHP 5.3 (i.e. pre June 2009)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Fatal Error’ is closed to new replies.
Skip to toolbar