WordPress.org

Ready to get started?Download WordPress

Forums

Easy MailChimp Forms
[resolved] Fatal Error on Activation (9 posts)

  1. Lab Lover
    Member
    Posted 1 year ago #

    Upon activation of the plugin the following fatal error is generated. Any thoughts?

    "Plugin could not be activated because it triggered a fatal error.

    Warning: require_once(/home3/llcsdcom/public_html/wp/wp-content/plugins/yikes-inc-easy-mailchimp-extender/classes/class.yksemeBase.php): failed to open stream: No such file or directory in /home3/llcsdcom/public_html/wp/wp-mycontent/plugins/yikes-inc-easy-mailchimp-extender/yikes-inc-easy-mailchimp-extender.php on line 51

    Fatal error: require_once(): Failed opening required '/home3/llcsdcom/public_html/wp/wp-content/plugins/yikes-inc-easy-mailchimp-extender/classes/class.yksemeBase.php' (include_path='.:/usr/php/54/usr/lib64:/usr/php/54/usr/share/pear:/home3/llcsdcom/public_html/wp/wp-mycontent/plugins/background-manager/vendor/OAuth/lib') in /home3/llcsdcom/public_html/wp/wp-mycontent/plugins/yikes-inc-easy-mailchimp-extender/yikes-inc-easy-mailchimp-extender.php on line 51"

    http://wordpress.org/plugins/yikes-inc-easy-mailchimp-extender/

  2. Tracy Levesque
    Team Training Wrangler / YIKES Inc.
    Plugin Author

    Posted 1 year ago #

    Hi Lab Lover.

    Thanks for letting us know about this. We are closed tomorrow for Halloween, but we will look at this on Friday.

    At a quick glance, it looks like the path is odd "/public_html/wp/wp-mycontent/plugins/" it is expecting "/public_html/wp/wp-content/plugins/"

    Our programmer can give you a more detailed answer on Friday.

    Thanks!
    -Tracy

  3. Lab Lover
    Member
    Posted 1 year ago #

    Yes, changing the name of the wp-content directory is a security precaution and is facilitated by the "Better WP Security" plugin used by millions of WordPress sites.

    Your plugin did install itself in the proper location but I suspect somewhere in your code your plugin must have the "Wp-Content" path hard coded as opposed to referencing the WordPress internal constant for the proper path.

    Please see the WordPress codex for further information:

    http://codex.wordpress.org/Determining_Plugin_and_Content_Directories

  4. yikesinc
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Lab Lover.

    We fixed this on the pre-release version of the plugin on Github:
    https://github.com/yikesinc/yikes-inc-easy-mailchimp-extender

    Thanks for bringing it to our attention!

  5. nonverbla
    Member
    Posted 4 months ago #

    Hi there,

    I still get the error... I have my wp-content folder renamed and moved out of the core folder. My Structure looks like this:
    - content
    - plugins
    - themes
    - ...
    - core
    - wp-admin
    - wp-includes
    - ...

  6. Evan Herman
    Member
    Plugin Author

    Posted 4 months ago #

    Hi nonverbla

    Since you have changed the name of the wp-content folder I believe you may need to adjust the path defined in the main class file yikes-inc-easy-mailchimp-extender.php.

    You'll want to adjust the YKSEME_PATH variable and rename wp-content with the appropriate folder name.

    Thanks,
    Evan

  7. nonverbla
    Member
    Posted 4 months ago #

    Actually, I did this:

    define('YKSEME_PATH', dirname(__FILE__).'/');

    and now the plugin activates. But it still doesn't load assets like images and so on...

  8. nonverbla
    Member
    Posted 4 months ago #

    The problem arised because I installed your gitHub version and the folder hat the affix "-master" in it's name. Fixed by reinstalling the wp-plugins version.

  9. Evan Herman
    Member
    Plugin Author

    Posted 4 months ago #

    Great glad you were able to get things resolved. GitHub affixes that to all izod downloaded, which sometimes cause confusion. Changing the File name should work, but if you have things installed, no need.

    Have a great day!
    Evan

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic