WordPress.org

Ready to get started?Download WordPress

Forums

Donation Can
Widget/shortcode issue under WAMP (2 posts)

  1. zorgbargle
    Member
    Posted 4 years ago #

    Hi,
    We're currently evaluating your plugin under a local WAMP installation. There's an issue when rendering widgets or shortcodes, the file argument to a require call cannot be found.
    This occurs at line 74 of model/widgets/donation_widget.php.
    I think the line should be changed from
    require(__FILE__ . "/../../../view/donation_form_single.php"); to
    require(dirname(__FILE__) . "/../../view/donation_form_single.php");.

    This may well be a windows-only issue, I haven't tested under Linux yet.

    Otherwise the plugin looks great, thanks!

    http://wordpress.org/extend/plugins/donation-can/

  2. eddiejanzer
    Member
    Posted 3 years ago #

    I have the same issue on a live site, and it knocks out my page completely

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic