WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack by WordPress.com
Fatal error problem in /modules/sharedaddy.php (14 posts)

  1. muttakee
    Member
    Posted 8 months ago #

    There have a fatal error in plugins/jetpack/modules/sharedaddy.php file and the line number is 11.

    How can i solve it? it may causes a security bug for a website. I am using the latest version of the plugin.

    http://wordpress.org/plugins/jetpack/

  2. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 8 months ago #

    You seem to be missing some files in the plugin. Could you log in to your site via FTP, delete the plugin folder, and reinstall Jetpack manually as explained here:
    http://codex.wordpress.org/Managing_Plugins#Manual_Plugin_Installation

    Let me know if it helps.

  3. monthida
    Member
    Posted 8 months ago #

    PLEASE help...

    I have a fatal error message and cannot access my website. The message is shown below:

    Warning: require_once(/nfs/c08/h04/mnt/172841/domains/monthidamccoole.com/html/wp-content/plugins/jetpack/class.jetpack.php) [function.require-once]: failed to open stream: No such file or directory in /nfs/c08/h04/mnt/172841/domains/monthidamccoole.com/html/wp-content/plugins/jetpack/jetpack.php on line 37

    Fatal error: require_once() [function.require]: Failed opening required '/nfs/c08/h04/mnt/172841/domains/monthidamccoole.com/html/wp-content/plugins/jetpack/class.jetpack.php' (include_path='.:/usr/local/php-5.3.27/share/pear') in /nfs/c08/h04/mnt/172841/domains/monthidamccoole.com/html/wp-content/plugins/jetpack/jetpack.php on line 37

  4. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 8 months ago #

    @monthida Like @muttakee above, you seem to be missing some files in the plugin. Could you try to reinstall as I suggested above?

    Thanks!

  5. monthida
    Member
    Posted 8 months ago #

    Hi Jeremy,

    Thank you for your response. I checked out your website - baby Lili is adorable :)

    Back to my problem - can you tell me how to reinstall please since I can't access my site? I am so new at this website thingy - i don't know what FTP is? Would you mind guiding me through it please?

    Much appreciated

  6. George Stephanis
    Automattic Lead Code Monkey
    Plugin Author

    Posted 8 months ago #

    FTP is what you can use to connect to your webserver provided by your hosting company. If you don't have your credentials, you'll likely have to contact your hosting company to request them. Once you've got them, you'll need to connect to your server, and re-install Jetpack by finding your ~/wp-content/plugins/jetpack folder, deleting that folder (just the jetpack folder -- not anything above it), then re-installing through your WordPress admin interface, or downloading Jetpack manually, unzipping it, and uploading it through your FTP client of choice.

    http://codex.wordpress.org/FTP_Clients

  7. muttakee
    Member
    Posted 7 months ago #

    Thank You for your solution.
    I installed the plugin by ftp but its not ok. the error in also other blog of mine. please see the sharebuddy.php file and give me a real solution.

  8. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 7 months ago #

    @muttakee Could you access your site via FTP, find the sharedaddy file under wp-content/plugins/jetpack/modules/sharedaddy.php, and let me know what you see on line 11?

    Thanks!

  9. muttakee
    Member
    Posted 7 months ago #

    Fatal error: Call to undefined function plugin_dir_path() in /home/......./plugins/jetpack/modules/sharedaddy/sharedaddy.php on line 11

    http://i.imgur.com/SaeVqrT.png
    Click on the image link. that is a screenshot of plugins/jetpack/modules/sharedaddy.php file in my site.
    its a problem of jetpack/modules/sharedaddy/sharedaddy.php file.

    http://img545.imageshack.us/img545/5924/n7q9.png
    here is the screenshot of jetpack/modules/sharedaddy/sharedaddy.php file

    this is not only in my site. please check others site that using jetpack you will find same problem.

  10. George Stephanis
    Automattic Lead Code Monkey
    Plugin Author

    Posted 7 months ago #

    If for some reason you don't have the plugin_dir_path() function available, then you've got bigger problems.

    The function is defined here:

    https://core.trac.wordpress.org/browser/tags/3.8/src/wp-includes/plugin.php#L597

    and should be loaded well in advance of Jetpack or any other plugin being loaded up.

    Can you check your ~/wp-includes/plugin.php file to make sure it's fully there and has that function defined?

  11. muttakee
    Member
    Posted 7 months ago #

    please check this image http://i.imgur.com/dWZtdHl.png

    i think its ok :)

  12. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 7 months ago #

    Could you let us know what version of WP and Jetpack you're using on your site?

  13. muttakee
    Member
    Posted 7 months ago #

    WordPress 3.8 and Jetpack by WordPress.com version 2.7

  14. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 6 months ago #

    Unfortunately we were not able to reproduce the issue.

    plugin_dir_path() doesn't seem to be loaded on your site, or at least not before any of the plugins are. That could be caused by an issue with your WordPress installation, or with your server configuration.

    Could you try to reinstall WordPress?
    If that doesn't help, could you check your site with the Sucuri SiteCheck tool to make it hasn't been corrupted?

    Let me know how it goes.

Reply

You must log in to post.

About this Plugin

About this Topic