Title: PHP 7.2 Warning: Illegal string offset
Last modified: August 28, 2018

---

# PHP 7.2 Warning: Illegal string offset

 *  [adrexler](https://wordpress.org/support/users/adrexler/)
 * (@adrexler)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/php-7-2-warning-illegal-string-offset/)
 * Hello,
 * with PHP7.2 I get this Warning:
 * **Warning: Illegal string offset ‘excluded_taxonomies’ in /home/tkmagad/htdocs/
   wp-content/plugins/categories-images/categories-images.php on line 32**
 * **Bugfix:**
    Navigate to the function z_init() and search for `$zci_options =
   get_option('zci_options')`;
 * Insert the following Code after the $zci_options variable.
    `$zci_options = $
   zci_options ?: array();`
 * Can you please fix the Bug/Warning in the next Update?
 * greets
    -  This topic was modified 7 years, 9 months ago by [adrexler](https://wordpress.org/support/users/adrexler/).

The topic ‘PHP 7.2 Warning: Illegal string offset’ is closed to new replies.

 * ![](https://ps.w.org/categories-images/assets/icon-128x128.png?rev=2256871)
 * [Categories Images](https://wordpress.org/plugins/categories-images/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/categories-images/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/categories-images/)
 * [Active Topics](https://wordpress.org/support/plugin/categories-images/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/categories-images/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/categories-images/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [adrexler](https://wordpress.org/support/users/adrexler/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/php-7-2-warning-illegal-string-offset/)
 * Status: not resolved