Fatal error: Uncaught TypeError: Cannot access offset of type string on string in class-envato-prot

Hello, I have the same problem as this guy: Fatal error Envato-theme-updater

When I want to log in this is my Fatal error:
Fatal error : Uncaught TypeError: Cannot access offset of type string on string in /data/web/virtuals/55000/virtual/www/wp-content/themes/Grimag/framework/functions/classes/class-envato-protected-api.php:307 Stack trace: #0 /data/web/virtuals/55000/virtual/www/wp-content/themes/Grimag/framework/functions/classes/class-envato-protected-api.php(354): Envato_Protected_API->set_error(‘http_code’, 403) #1 /data/web/virtuals/55000/virtual/www/wp-content/themes/Grimag/framework/functions/classes/class-envato-protected-api.php(254): Envato_Protected_API->remote_request(‘http://marketpl…’) #2 /data/web/virtuals/55000/virtual/www/wp-content/themes/Grimag/framework/functions/classes/class-envato-protected-api.php(113): Envato_Protected_API->set_cache(‘Ondra6_wp-list-…’, ‘http://marketpl…’, 300) #3 /data/web/virtuals/55000/virtual/www/wp-content/themes/Grimag/framework/functions/classes/class-envato-protected-api.php(149): Envato_Protected_API->private_user_data(‘wp-list-themes’, ‘Ondra6’, ‘’, true, 300) #4 /data/web/virtuals/55000/virtual/www/wp-content/themes/Grimag/framework/functions/classes/class-pixelentity-theme-update.php(38): Envato_Protected_API->wp_list_themes(true) #5 /data/web/virtuals/55000/virtual/www/wp-includes/class-wp-hook.php(326): PixelentityThemeUpdate->check(Object(stdClass)) #6 /data/web/virtuals/55000/virtual/www/wp-includes/plugin.php(205): WP_Hook->apply_filters(Object(stdClass), Array) #7 /data/web/virtuals/55000/virtual/www/wp-includes/option.php(2360): apply_filters(‘pre_set_site_tr…’, Object(stdClass), ‘update_themes’) #8 /data/web/virtuals/55000/virtual/www/wp-includes/update.php(675): set_site_transient(‘update_themes’, Object(stdClass)) #9 /data/web/virtuals/55000/virtual/www/wp-includes/update.php(1043): wp_update_themes() #10 /data/web/virtuals/55000/virtual/www/wp-includes/class-wp-hook.php(324): _maybe_update_themes(‘’) #11 /data/web/virtuals/55000/virtual/www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #12 /data/web/virtuals/55000/virtual/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #13 /data/web/virtuals/55000/virtual/www/wp-admin/admin.php(175): do_action(‘admin_init’) #14 /data/web/virtuals/55000/virtual/www/wp-admin/index.php(10): require_once(‘/data/web/virtu…’) #15 {main} thrown in /data/web/virtuals/55000/virtual/www/wp-content/themes/Grimag/framework/functions/classes/class-envato-protected-api.php on line 307

Author of the plugin Grimag that I buy the theme from is not responding me (but i have paid for the support)

Could you help me please how to repair this class-envato-protected-api.php

There are this url that I think that dont exist on envato.com anymore : protected $public_url = ‘http://marketplace.envato.com/api/edge/set.json’;

Did you try the solution?

Thanks for trying to help me. I do not have Envato market plugin. Grimag theme have only Stkit plugin. And i tried reinstall, upgrade and even downgrade both plugin as well as theme. :frowning: Only if I deactivate Stkit plugin the error disappear, but i Need that plugin to run the website. I have newest version of the plugin.

1 Like

The theme you purchased seems abandoned. Are you able to downgrade your website to PHP 7.4? That might fix it.

2 Likes

Yes! That was it, I just changed it and problem was solved.

Thank you, Thank you, Thank You :slight_smile:

1 Like