• Resolved kcomphlint

    (@kcomphlint)


    Running WP 6.5 on PHP 8.2 (also tested on PHP 8.1). When I try to go to the settings page: /wp-admin/admin.php?page=sharethis-inline-sticky-share-buttons

    I get this message: Sorry, you are not allowed to access this page.

    If I enabled WP_DEBUG, I get the following in PHP 8.2, but not in PHP 8.1:

    Deprecated: Creation of dynamic property ShareThisShareButtons\Share_Buttons::$inline_setting_fields is deprecated in /www/nationalcarboncapturecentercom_328/public/wp-content/plugins/sharethis-share-buttons/php/class-share-buttons.php on line 172
    
    Deprecated: Creation of dynamic property ShareThisShareButtons\Share_Buttons::$sticky_setting_fields is deprecated in /www/nationalcarboncapturecentercom_328/public/wp-content/plugins/sharethis-share-buttons/php/class-share-buttons.php on line 231

    No errors in server logs either. Hosting at Kinsta. Any ideas?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter kcomphlint

    (@kcomphlint)

    Any ideas on this issue?

    Still not able to view settings in wp-admin, still getting the “Sorry, you are not allowed to access this page” message. No longer getting Deprecated errors though.

    Plugin Author ShareThis

    (@sharethis)

    Hi kcomphlint,

    It sounds like you’re hitting a snag trying to access your ShareThis settings in WordPress. No worries, we’re here to help!

    You mentioned getting a “Sorry, you aren’t allowed” message on the settings page with WordPress 6.5 and PHP 8.2. That’s definitely not ideal. Here are a few things we can try to get you back in control:

    1. Quick Update Check: Let’s make sure you have the latest version of the ShareThis Share Buttons plugin. Outdated plugins can sometimes cause access issues. Head to your WordPress dashboard > Plugins > Installed Plugins and check for updates.
    2. Plugin Tussle (Optional): If there are other plugins active, try temporarily deactivating them one by one. Sometimes plugins can clash and cause unexpected behavior. If you regain access after deactivating some plugins, you can pinpoint the troublemaker by reactivating them individually.
    3. Permission Peeking: Double-check that your user account has the permissions to access plugin settings in WordPress.
    4. Kinsta Assist (Optional): Since you’re using Kinsta hosting, their support might have extra insights specific to their setup. They might be able to offer additional troubleshooting steps.

    If none of these suggestions work, reply back and let us know the exact version of the ShareThis Share Buttons plugin you’re using. Any additional error messages you see in your WordPress dashboard or server logs would also be helpful.

    We’ll keep digging until you can access those settings with ease!

    Best regards,

    ShareThis Support Team

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can’t view settings in admin’ is closed to new replies.