Title: <abbr title="Not Safe For Work / Mature content">[NSFW]</abbr> Fatal error: Uncaught Error: Cannot access offset of type string on string in
Last modified: July 19, 2022

---

# [NSFW] Fatal error: Uncaught Error: Cannot access offset of type string on string in

 *  Resolved [Cloud Development](https://wordpress.org/support/users/clouddevelopment/)
 * (@clouddevelopment)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-error-cannot-access-offset-of-type-string-on-string-in/)
 * Hi,
 * Fresh plugin installation and first use attempt(multi-site):
 * —————————————————————–
 * Fatal error: Uncaught Error: Cannot access offset of type string on string
    in/
   home/bestandslocatie/system-dashboard/admin/class-system-dashboard-admin.php 
   on line 1405
 * Call stack:
 * System_Dashboard_Admin::sd_server_location()
    wp-content/plugins/system-dashboard/
   admin/class-system-dashboard-admin.php:420 System_Dashboard_Admin::sd_server_overview()
   wp-content/plugins/system-dashboard/admin/class-system-dashboard-admin.php:11497
   System_Dashboard_Admin::sd_dashboard_page() wp-includes/class-wp-hook.php:307
   WP_Hook::apply_filters() wp-includes/class-wp-hook.php:331 WP_Hook::do_action()
   wp-includes/plugin.php:476 do_action() wp-content/plugins/system-dashboard/vendor/
   codestar-framework/classes/setup.class.php:250 CSF_Setup::setup() wp-includes/
   class-wp-hook.php:307 WP_Hook::apply_filters() wp-includes/class-wp-hook.php:
   331 WP_Hook::do_action() wp-includes/plugin.php:476 do_action() wp-settings.php:
   598 require_once() wp-config.php:126 require_once() wp-load.php:50 require_once()
   wp-admin/admin.php:34 require_once() wp-admin/index.php:10
 * —————————————————————–
 * Please advise.
    Kind regards,

Viewing 1 replies (of 1 total)

 *  Plugin Author [Bowo](https://wordpress.org/support/users/qriouslad/)
 * (@qriouslad)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-error-cannot-access-offset-of-type-string-on-string-in/#post-15838635)
 * [@clouddevelopment](https://wordpress.org/support/users/clouddevelopment/) thanks
   for reporting. May I know what type of hosting you’re on? e.g. managed – Kinsta,
   or, shared – cPanel.
 * This error has to do with correctlly detecting the server IP address, querying
   a IP-based location detection plugin, and returning the results. There’s a chance
   the plugin can not reliable get the IP address. I may just add a check if that’s
   the case and return “Location is not detectable”.

Viewing 1 replies (of 1 total)

The topic ‘[NSFW] Fatal error: Uncaught Error: Cannot access offset of type string
on string in’ is closed to new replies.

 * ![](https://ps.w.org/system-dashboard/assets/icon-256x256.png?rev=2692841)
 * [System Dashboard](https://wordpress.org/plugins/system-dashboard/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/system-dashboard/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/system-dashboard/)
 * [Active Topics](https://wordpress.org/support/plugin/system-dashboard/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/system-dashboard/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/system-dashboard/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Bowo](https://wordpress.org/support/users/qriouslad/)
 * Last activity: [3 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-error-cannot-access-offset-of-type-string-on-string-in/#post-15838635)
 * Status: resolved