• Resolved abbeycrombie

    (@abbeycrombie)


    Hi, I just tried to update the plugin today and have gotten an error every time I try to activate it. I have tried disabling the plugin, reactivating the plugin, deleting and reinstalling the plugin and does not seem to work.

    My error is as follows:

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

    Warning: require_once(/wp-content/plugins/socialsnap/includes/compatibility/class-fsb-compatibility.php): failed to open stream: No such file or directory in /wp-content/plugins/socialsnap/socialsnap.php on line 216

    Fatal error: require_once(): Failed opening required ‘/wp-content/plugins/socialsnap/includes/compatibility/class-fsb-compatibility.php’ (include_path=’.:/opt/alt/php72/usr/share/pear’) in /wp-content/plugins/socialsnap/socialsnap.php on line 216

    Any help would be appreciated. Thank you.

Viewing 10 replies - 1 through 10 (of 10 total)
  • I’ve also faced the same error after updating the plugin.

    Actually, We’re facing this error because plugin author has added two lines to the socialsnap.php file to access the compatibility files but the author forgot to upload the Compatibility folder inside the Includes folder.

    So, We have to wait for the next update or If you want to solve the error now then you can follow the below steps:

    Go to the /wp-content/plugins/socialsnap/ folder then edit the socialsnap.php file then remove the codes from 216 and 217 line then save the file.

    For example, Remove these two codes from the socialsnap.php file.

    require_once SOCIALSNAP_PLUGIN_DIR . ‘includes/compatibility/class-fsb-compatibility.php’;
    require_once SOCIALSNAP_PLUGIN_DIR . ‘includes/compatibility/class-sw-compatibility.php’;

    Plugin Author Social Snap

    (@socialsnap)

    Hello,

    We are so sorry to hear that, please update the plugin to v1.0.9.1 and the issue should be resolved.

    I have the same problem, but I can’t update because the plugin error has stopped me from being able to login to my WordPress admin !

    sorry error

    • This reply was modified 6 years, 3 months ago by sadhaka.
    Plugin Author Social Snap

    (@socialsnap)

    Please send us an email ([email protected]) and we’ll get this resolved for you.

    • This reply was modified 6 years, 3 months ago by Social Snap.

    Thanks for the response, but it’s OK – I commented out the appropriate lines in socialsnap.php which allowed me to update the plugin.

    I have the same error, Can you please share how to fix it, i cannot update plugin since i cannot log in to my WordPress admin.

    Thread Starter abbeycrombie

    (@abbeycrombie)

    Hi, you can refer to this on how to disable plugins without access to your admin area: https://www.ostraining.com/blog/wordpress/disable-a-wordpress-plugin/

    I did Option #1.

    Use your FTP client to navigate to wp-content/plugins/socialsnap then open the socialsnap.php file in a decent text editor.

    Scroll down to around lines 216-217 and comment-out the lines:
    require_once SOCIALSNAP_PLUGIN_DIR . 'includes/compatibility/class-fsb-compatibility.php';
    require_once SOCIALSNAP_PLUGIN_DIR . 'includes/compatibility/class-sw-compatibility.php';

    … by prefixing each one with two forward slashes //

    You should now be able to log in to your WordPress admin and update the plugin.

    • This reply was modified 6 years, 3 months ago by sadhaka.

    Thank you @abbeycrombi and @sadhaka, It worked. I appreciate you help.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Plugin Error’ is closed to new replies.