Title: Having Undefined offset error
Last modified: February 24, 2020

---

# Having Undefined offset error

 *  [WebAppick](https://wordpress.org/support/users/wahid0003/)
 * (@wahid0003)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/having-undefined-offset-error/)
 * Notice: Undefined offset: 1 in /var/www/html/wp-content/plugins/wp-asset-clean-
   up/classes/OptimiseAssets/OptimizeCommon.php on line 524

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

 *  Plugin Author [Gabe Livan](https://wordpress.org/support/users/gabelivan/)
 * (@gabelivan)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/having-undefined-offset-error/#post-12474154)
 * [@wahid0003](https://wordpress.org/support/users/wahid0003/) thank you for reporting
   a potential bug! It seems that you’re either using an older version of Asset 
   CleanUp Pro (below 1.3.5.7) or the error was reported a long time ago, but you
   haven’t checked the date (it’s possibility, it happened with other bug reports
   too). Can you please double check if you’re using v1.3.5.7 and the date of the
   PHP notice error? I suppose you checked the error_log file.
 *  Plugin Author [Gabe Livan](https://wordpress.org/support/users/gabelivan/)
 * (@gabelivan)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/having-undefined-offset-error/#post-12511988)
 * [@wahid0003](https://wordpress.org/support/users/wahid0003/) as I haven’t heard
   back from you and this issue has been checked and no reports of any error have
   been made by other users, I’ll mark this topic as “resolved”. If the errors comes
   back (make sure to update to the latest version of the plugin), don’t hesitate
   to let me know about it and I’ll re-check it.
 *  Thread Starter [WebAppick](https://wordpress.org/support/users/wahid0003/)
 * (@wahid0003)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/having-undefined-offset-error/#post-12520779)
 * yes, I have installed Version 1.3.5.7 and still have the issue.
 *  Plugin Author [Gabe Livan](https://wordpress.org/support/users/gabelivan/)
 * (@gabelivan)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/having-undefined-offset-error/#post-12543845)
 * [@wahid0003](https://wordpress.org/support/users/wahid0003/) Sorry about that!
   This error wasn’t reported before and after checking the code, there shouldn’t
   been such as an error on line **524** from _[https://plugins.trac.wordpress.org/browser/wp-asset-clean-up/tags/1.3.5.7/classes/OptimiseAssets/OptimizeCommon.php](https://plugins.trac.wordpress.org/browser/wp-asset-clean-up/tags/1.3.5.7/classes/OptimiseAssets/OptimizeCommon.php)_
 * Can you please upgrade to 1.3.5.9 and re-test it? Also, where are you seeing 
   the error? Is it printing for your guest visitors or is it just logged to the
   server’s “error_log” file? This is a notice (in many cases harmless) error and
   you can safely ignore it IF it doesn’t affect the website’s functionality.

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

The topic ‘Having Undefined offset error’ is closed to new replies.

 * ![](https://ps.w.org/wp-asset-clean-up/assets/icon-256x256.png?rev=1981952)
 * [Asset CleanUp: Page Speed Booster](https://wordpress.org/plugins/wp-asset-clean-up/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-asset-clean-up/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-asset-clean-up/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-asset-clean-up/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-asset-clean-up/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-asset-clean-up/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Gabe Livan](https://wordpress.org/support/users/gabelivan/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/having-undefined-offset-error/#post-12543845)
 * Status: not resolved