Title: PHP Error with version 7.2
Last modified: August 22, 2016

---

# PHP Error with version 7.2

 *  [Indy69](https://wordpress.org/support/users/indy69/)
 * (@indy69)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/php-error-with-version-72/)
 * I just updated the css-javascript toolbox on one of my sites and now I am getting
   some errors.
 * That error appears when I attempt to view or preview a post.
 * Warning: Invalid argument supplied for foreach() in /home/xxxxxx/public_html/
   xxxxxx_content/plugins/css-javascript-toolbox/framework/db/mysql/queue-driver.
   inc.php on line 175
 * I have another site that runs WP version 4.0 and the previous version of css-
   javascript toolbox and that one works fine.
 * [https://wordpress.org/plugins/css-javascript-toolbox/](https://wordpress.org/plugins/css-javascript-toolbox/)

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

 *  Thread Starter [Indy69](https://wordpress.org/support/users/indy69/)
 * (@indy69)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/php-error-with-version-72/#post-5271967)
 * I did some testing and the problem seems to be related to the database. I removed
   the toolbox tables and did a clean install of the plugin. The plugin installs
   but the tables don’t get created. So I did a mysqldump from another site where
   I have a working version, changed the table prefix, and loaded it into the site
   where I have toolbox version 7.2 installed. With the import of the tables the
   toolbox seems to work. So no idea what broke in 7.2.
 *  [Code Machine](https://wordpress.org/support/users/xpointer/)
 * (@xpointer)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/php-error-with-version-72/#post-5272194)
 * Hello,
 * Sorry for the delay getting back to you.
    We were very busy working on the next
   release.
 * Glad everything is working fine now.
 * What is the previous version you was using?
 * Regards,
    AHMeD

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

The topic ‘PHP Error with version 7.2’ is closed to new replies.

 * ![](https://ps.w.org/css-javascript-toolbox/assets/icon-256x256.gif?rev=3132209)
 * [CSS & JavaScript Toolbox](https://wordpress.org/plugins/css-javascript-toolbox/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/css-javascript-toolbox/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/css-javascript-toolbox/)
 * [Active Topics](https://wordpress.org/support/plugin/css-javascript-toolbox/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/css-javascript-toolbox/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/css-javascript-toolbox/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Code Machine](https://wordpress.org/support/users/xpointer/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/php-error-with-version-72/#post-5272194)
 * Status: not resolved