Plugin is unavailable after installation/activation
-
After installing and activating the plugin, the ShareThis menu item is not shown in the WP-Admin. When trying to navigate to
/wp-admin/admin.php?page=sharethis-generalwe get the error “Sorry, you are not allowed to access this page.”
-
Hey @aconde!
We are sorry to hear that you are having issues with our plugin. It’s possible that your PHP version is outdated so a quick solution might be checking out your PHP version on WordPress and making sure it’s up to date. If this doesn’t help, there could be an issue related to a desynchronization between your ShareThis property and your WordPress plugin, you may need to reinstall the plugin again.
If the error persists, please contact us at [email protected] and provide us with your PHP version, WordPress version, and plugin version so we can better assist you.
Hi Sharethis team!
I’m facing issue with sharethis plugin in wordpress. Sharethis plugin creating issue while navigating to ‘General Settings’ “Fatal error: Uncaught Error: Call to undefined method ShareThisShareButtons\Share_Buttons::randomGif() in /home/609663.cloudwaysapps.com/eantvkddgr/public_html/wp-content/plugins/sharethis-share-buttons/templates/general/general-settings.php:11 Stack trace: #0 /home/609663.cloudwaysapps.com/eantvkddgr/public_html/wp-content/plugins/sharethis-share-buttons/php/class-share-buttons.php(509): include_once() #1 /home/609663.cloudwaysapps.com/eantvkddgr/public_html/wp-includes/class-wp-hook.php(307): ShareThisShareButtons\Share_Buttons->general_settings_display() #2 /home/609663.cloudwaysapps.com/eantvkddgr/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #3 /home/609663.cloudwaysapps.com/eantvkddgr/public_html/wp-includes/plugin.php(474): WP_Hook->do_action() #4 /home/609663.cloudwaysapps.com/eantvkddgr/public_html/wp-admin/admin.php(259): do_action() #5 {main} thrown in /home/609663.cloudwaysapps.com/eantvkddgr/public_html/wp-content/plugins/sharethis-share-buttons/templates/general/general-settings.php on line 11” Please fix this issue because sharethis social share button not appearing on my all sites.
ShareThis 1.5.6
I have the identical issue on two WordPress sites, each using a different theme but hosted on the same VPS (virtual private server).
One site uses the Classic Editor and one the new blocks and widgets, both throw the same critical errors on trying to enter general settings. If I rollback to ShareThis 1.5.5 then I can get into general settings without this error appearing and this has been the temporary workaround.
Will reproduce these errors underneath the configuration information.
WordPress version 5.9.2
### wp-server ###
server_architecture: Linux 2.6.32-954.3.5.lve1.4.80.el6.x86_64 x86_64
httpd_software: Apache
php_version: 7.4.26 64bit
php_sapi: litespeed
max_input_variables: 1000
time_limit: 30
memory_limit: 128M
admin_memory_limit: 256M
max_input_time: -1
upload_max_filesize: 32M
php_post_max_size: 32M
curl_version: 7.71.0 OpenSSL/1.1.1d
suhosin: false
imagick_availability: true
pretty_permalinks: true
htaccess_extra_rules: true### wp-database ###
extension: mysqli
server_version: 5.6.51-cll-lve
client_version: 5.6.51
max_allowed_packet: 268435456
max_connections: 600### wp-plugins-active (16) ###
ACF Content Analysis for Yoast SEO: version: 3.0.1, author: Thomas Kräftner, ViktorFroberg, marol87, pekz0r, angrycreative, Team Yoast, Auto-updates enabled
Advanced Custom Fields: version: 5.12, author: Delicious Brains, Auto-updates enabled
Antispam Bee: version: 2.11.0, author: pluginkollektiv, Auto-updates enabled
Classic Editor: version: 1.6.2, author: WordPress Contributors, Auto-updates enabled
Fluent Forms: version: 4.3.3, author: Contact Form – WPManageNinja LLC, Auto-updates enabled
Imagify: version: 1.10, author: WP Media, Auto-updates enabled
Revive Old Posts: version: 9.0.6, author: revive.social, Auto-updates enabled
ShareThis Share Buttons: version: 1.5.5, author: ShareThis (latest version: 1.5.6), Auto-updates disabled
Shortcoder: version: 5.7, author: Aakash Chakravarthy, Auto-updates enabled
Sucuri Security – Auditing, Malware Scanner and Hardening: version: 1.8.30, author: Sucuri Inc., Auto-updates enabled
Wordfence Security: version: 7.5.8, author: Wordfence, Auto-updates enabled
WP Crontrol: version: 1.12.0, author: John Blackbourn & crontributors, Auto-updates enabledWP Rocket: version: 3.10.8, author: WP Media, Auto-updates disabled
WP Rollback: version: 1.7.1, author: Impress.org, Auto-updates enabled
Yoast Duplicate Post: version: 4.4, author: Enrico Battocchi & Team Yoast, Auto-updates enabled
Yoast SEO: version: 18.3, author: Team Yoast, Auto-updates enabled
## ShareThis Critical Errors ##
Error Details - Site using blocks & widgets ============= An error of type E_ERROR was caused in line 11 of the file /home/wcnp26fmi3kc/public_html/dev.passionforbusiness.com/wp-content/plugins/sharethis-share-buttons/templates/general/general-settings.php. Error message: Uncaught Error: Call to undefined method ShareThisShareButtons\Share_Buttons::randomGif() in /home/wcnp26fmi3kc/public_html/dev.passionforbusiness.com/wp-content/plugins/sharethis-share-buttons/templates/general/general-settings.php:11 Stack trace: #0 /home/wcnp26fmi3kc/public_html/dev.passionforbusiness.com/wp-content/plugins/sharethis-share-buttons/php/class-share-buttons.php(509): include_once() #1 /home/wcnp26fmi3kc/public_html/dev.passionforbusiness.com/wp-includes/class-wp-hook.php(307): ShareThisShareButtons\Share_Buttons->general_settings_display('') #2 /home/wcnp26fmi3kc/public_html/dev.passionforbusiness.com/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #3 /home/wcnp26fmi3kc/public_html/dev.passionforbusiness.com/wp-includes/plugin.php(474): WP_Hook->do_action(Array) #4 /home/wcnp26fmi3kc/public_html/dev.passionforbusiness.com/wp-admin/admin.php(259): do_action('toplevel_page_s...') #5 {main} thrownError Details - Site using classic editor ============= An error of type E_ERROR was caused in line 11 of the file /home/wcnp26fmi3kc/public_html/thesuccessalliance.com/wp-content/plugins/sharethis-share-buttons/templates/general/general-settings.php. Error message: Uncaught Error: Call to undefined method ShareThisShareButtons\Share_Buttons::randomGif() in /home/wcnp26fmi3kc/public_html/thesuccessalliance.com/wp-content/plugins/sharethis-share-buttons/templates/general/general-settings.php:11 Stack trace: #0 /home/wcnp26fmi3kc/public_html/thesuccessalliance.com/wp-content/plugins/sharethis-share-buttons/php/class-share-buttons.php(509): include_once() #1 /home/wcnp26fmi3kc/public_html/thesuccessalliance.com/wp-includes/class-wp-hook.php(307): ShareThisShareButtons\Share_Buttons->general_settings_display('') #2 /home/wcnp26fmi3kc/public_html/thesuccessalliance.com/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #3 /home/wcnp26fmi3kc/public_html/thesuccessalliance.com/wp-includes/plugin.php(474): WP_Hook->do_action(Array) #4 /home/wcnp26fmi3kc/public_html/thesuccessalliance.com/wp-admin/admin.php(259): do_action('toplevel_page_s...') #5 {main} thrownAlastair
P.S. Have tried uninstalled / reinstalling ShareThis 1.5.6 from scratch and only rolling back to 1.5.5 solves the issue
-
This reply was modified 4 years, 3 months ago by
agreenstreet.
-
This reply was modified 4 years, 3 months ago by
agreenstreet.
Hi there, folks!
We are glad to inform you that this issue has been resolved in our latest version release (1.5.7), you’ll simply need to update into the latest version of our plugin. Again, thank you for your patience.
-
This reply was modified 4 years, 2 months ago by
ShareThis.
-
This reply was modified 4 years, 3 months ago by
The topic ‘Plugin is unavailable after installation/activation’ is closed to new replies.