Title: Illegal string offset &#8216;type&#8217;
Last modified: December 8, 2019

---

# Illegal string offset ‘type’

 *  [schoenietz](https://wordpress.org/support/users/schoenietz/)
 * (@schoenietz)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/illegal-string-offset-type-3/)
 * Hi everybody. I am getting lots of PHP warnings on my wordpress installation 
   and I am also seeing Internal Server Errors 500 coming up regularly.
    I am using
   PHP 7.3 and have the latest plugin version 2.2.2 installed.
 * log file entries look like this:
 *     ```
       [08-Dec-2019 11:54:51 UTC] PHP Warning:  array_key_exists() expects parameter 2 to be array, string given in /mnt/web414/a2/23/59365623/htdocs/WordPress_01/wp-content/plugins/responsive-lightbox/includes/class-frontend.php on line 1491
       [08-Dec-2019 11:54:51 UTC] PHP Warning:  Illegal string offset 'type' in /mnt/web414/a2/23/59365623/htdocs/WordPress_01/wp-content/plugins/responsive-lightbox/includes/class-frontend.php on line 1492
       [08-Dec-2019 11:54:51 UTC] PHP Warning:  Cannot assign an empty string to a string offset in /mnt/web414/a2/23/59365623/htdocs/WordPress_01/wp-content/plugins/responsive-lightbox/includes/class-frontend.php on line 1492
       [08-Dec-2019 11:54:51 UTC] PHP Warning:  Illegal string offset 'type' in /mnt/web414/a2/23/59365623/htdocs/WordPress_01/wp-content/plugins/responsive-lightbox/includes/class-frontend.php on line 1495
       [08-Dec-2019 11:54:51 UTC] PHP Notice:  Uninitialized string offset: 0 in /mnt/web414/a2/23/59365623/htdocs/WordPress_01/wp-content/plugins/responsive-lightbox/includes/class-frontend.php on line 1495
       [08-Dec-2019 11:54:51 UTC] PHP Warning:  Illegal string offset 'type' in /mnt/web414/a2/23/59365623/htdocs/WordPress_01/wp-content/plugins/responsive-lightbox/includes/class-frontend.php on line 1495
       [08-Dec-2019 11:54:51 UTC] PHP Notice:  Uninitialized string offset: 0 in /mnt/web414/a2/23/59365623/htdocs/WordPress_01/wp-content/plugins/responsive-lightbox/includes/class-frontend.php on line 1495
       [08-Dec-2019 11:54:51 UTC] PHP Warning:  array_key_exists() expects parameter 2 to be array, string given in /mnt/web414/a2/23/59365623/htdocs/WordPress_01/wp-content/plugins/responsive-lightbox/includes/class-frontend.php on line 1703
       [08-Dec-2019 11:54:51 UTC] PHP Warning:  Illegal string offset 'type' in /mnt/web414/a2/23/59365623/htdocs/WordPress_01/wp-content/plugins/responsive-lightbox/includes/class-frontend.php on line 1704
       [08-Dec-2019 11:54:51 UTC] PHP Warning:  Cannot assign an empty string to a string offset in /mnt/web414/a2/23/59365623/htdocs/WordPress_01/wp-content/plugins/responsive-lightbox/includes/class-frontend.php on line 1704
       [08-Dec-2019 11:54:51 UTC] PHP Warning:  Illegal string offset 'type' in /mnt/web414/a2/23/59365623/htdocs/WordPress_01/wp-content/plugins/responsive-lightbox/includes/class-frontend.php on line 1707
       [08-Dec-2019 11:54:51 UTC] PHP Notice:  Uninitialized string offset: 0 in /mnt/web414/a2/23/59365623/htdocs/WordPress_01/wp-content/plugins/responsive-lightbox/includes/class-frontend.php on line 1707
       [08-Dec-2019 11:54:51 UTC] PHP Warning:  Illegal string offset 'type' in /mnt/web414/a2/23/59365623/htdocs/WordPress_01/wp-content/plugins/responsive-lightbox/includes/class-frontend.php on line 1707
       [08-Dec-2019 11:54:51 UTC] PHP Notice:  Uninitialized string offset: 0 in /mnt/web414/a2/23/59365623/htdocs/WordPress_01/wp-content/plugins/responsive-lightbox/includes/class-frontend.php on line 1707
       [08-Dec-2019 11:54:51 UTC] PHP Warning:  array_key_exists() expects parameter 2 to be array, string given in /mnt/web414/a2/23/59365623/htdocs/WordPress_01/wp-content/plugins/responsive-lightbox/includes/class-frontend.php on line 1891
       [08-Dec-2019 11:54:51 UTC] PHP Warning:  Illegal string offset 'type' in /mnt/web414/a2/23/59365623/htdocs/WordPress_01/wp-content/plugins/responsive-lightbox/includes/class-frontend.php on line 1892
       [08-Dec-2019 11:54:51 UTC] PHP Warning:  Cannot assign an empty string to a string offset in /mnt/web414/a2/23/59365623/htdocs/WordPress_01/wp-content/plugins/responsive-lightbox/includes/class-frontend.php on line 1892
       [08-Dec-2019 11:54:52 UTC] PHP Warning:  Illegal string offset 'type' in /mnt/web414/a2/23/59365623/htdocs/WordPress_01/wp-content/plugins/responsive-lightbox/includes/class-frontend.php on line 1895
       [08-Dec-2019 11:54:52 UTC] PHP Notice:  Uninitialized string offset: 0 in /mnt/web414/a2/23/59365623/htdocs/WordPress_01/wp-content/plugins/responsive-lightbox/includes/class-frontend.php on line 1895
       [08-Dec-2019 11:54:52 UTC] PHP Warning:  Illegal string offset 'type' in /mnt/web414/a2/23/59365623/htdocs/WordPress_01/wp-content/plugins/responsive-lightbox/includes/class-frontend.php on line 1895
       [08-Dec-2019 11:54:52 UTC] PHP Notice:  Uninitialized string offset: 0 in /mnt/web414/a2/23/59365623/htdocs/WordPress_01/wp-content/plugins/responsive-lightbox/includes/class-frontend.php on line 1895
       ```
   
 * Any idea how to solve the issue?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fillegal-string-offset-type-3%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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/)

 * 0 replies
 * 1 participant
 * Last reply from: [schoenietz](https://wordpress.org/support/users/schoenietz/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/illegal-string-offset-type-3/)
 * Status: not resolved