Title: Illegal string offset &#8216;type&#8217;
Last modified: January 28, 2019

---

# Illegal string offset ‘type’

 *  [gbassi](https://wordpress.org/support/users/gbassi/)
 * (@gbassi)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/illegal-string-offset-type-2/)
 * We are getting an error on the latest version of this plugin.
 * I have disabled the plugin and the error is gone. Please let me know if you need
   more information.
 * This is the the stack:
 *     ```
       Warning: Illegal string offset 'type' in /var/www/html/wp-content/plugins/responsive-lightbox/includes/class-frontend.php on line 1490
   
       Warning: Cannot assign an empty string to a string offset in /var/www/html/wp-content/plugins/responsive-lightbox/includes/class-frontend.php on line 1490
   
       Warning: Illegal string offset 'type' in /var/www/html/wp-content/plugins/responsive-lightbox/includes/class-frontend.php on line 1493
   
       Warning: Illegal string offset 'type' in /var/www/html/wp-content/plugins/responsive-lightbox/includes/class-frontend.php on line 1493
   
       Warning: array_key_exists() expects parameter 2 to be array, string given in /var/www/html/wp-content/plugins/responsive-lightbox/includes/class-frontend.php on line 1701
   
       Warning: Illegal string offset 'type' in /var/www/html/wp-content/plugins/responsive-lightbox/includes/class-frontend.php on line 1702
   
       Warning: Cannot assign an empty string to a string offset in /var/www/html/wp-content/plugins/responsive-lightbox/includes/class-frontend.php on line 1702
   
       Warning: Illegal string offset 'type' in /var/www/html/wp-content/plugins/responsive-lightbox/includes/class-frontend.php on line 1705
   
       Warning: Illegal string offset 'type' in /var/www/html/wp-content/plugins/responsive-lightbox/includes/class-frontend.php on line 1705
   
       Warning: array_key_exists() expects parameter 2 to be array, string given in /var/www/html/wp-content/plugins/responsive-lightbox/includes/class-frontend.php on line 1889
   
       Warning: Illegal string offset 'type' in /var/www/html/wp-content/plugins/responsive-lightbox/includes/class-frontend.php on line 1890
   
       Warning: Cannot assign an empty string to a string offset in /var/www/html/wp-content/plugins/responsive-lightbox/includes/class-frontend.php on line 1890
   
       Warning: Illegal string offset 'type' in /var/www/html/wp-content/plugins/responsive-lightbox/includes/class-frontend.php on line 1893
   
       Warning: Illegal string offset 'type' in /var/www/html/wp-content/plugins/responsive-lightbox/includes/class-frontend.php on line 1893
       ```
   

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [dFactory](https://wordpress.org/support/users/dfactory/)
 * (@dfactory)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/illegal-string-offset-type-2/#post-11141382)
 * Thanks for the feedback,
    Can you please tell us more about your server enviroment?
   PHP version?
 *  [pixel](https://wordpress.org/support/users/webcreativ/)
 * (@webcreativ)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/illegal-string-offset-type-2/#post-11324484)
 * PHP Warning: Illegal string offset ‘type’ in /home/_project_/public_html/wp-content/
   plugins/responsive-lightbox/includes/class-frontend.php on line 1893
 * PHP version 7.2.16

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Illegal string offset ‘type’’ is closed to new replies.

 * ![](https://ps.w.org/responsive-lightbox/assets/icon-256x256.png?rev=3460874)
 * [Responsive Lightbox & Gallery](https://wordpress.org/plugins/responsive-lightbox/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/responsive-lightbox/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/responsive-lightbox/)
 * [Active Topics](https://wordpress.org/support/plugin/responsive-lightbox/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/responsive-lightbox/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/responsive-lightbox/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [pixel](https://wordpress.org/support/users/webcreativ/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/illegal-string-offset-type-2/#post-11324484)
 * Status: not resolved