Title: Circular Ref.
Last modified: March 26, 2018

---

# Circular Ref.

 *  Resolved [Srikanth Kamath](https://wordpress.org/support/users/tskamath/)
 * (@tskamath)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/circular-ref/)
 * Hi, after the latest update (ver. Version 2.71) on WP Woocomerce (WordPress 4.9.4
   running + WooComm Version 3.3.4) getting the following warning.
 * Warning: var_export does not handle circular references in /home/tskamath/tsktech.
   in/wp-content/plugins/media-library-assistant/includes/class-mla-mime-types.php
   on line 325
 * Warning: var_export does not handle circular references in /home/tskamath/tsktech.
   in/wp-content/plugins/media-library-assistant/includes/class-mla-mime-types.php
   on line 325
 * Warning: var_export does not handle circular references in /home/tskamath/tsktech.
   in/wp-content/plugins/media-library-assistant/includes/class-mla-mime-types.php
   on line 325
 * Warning: var_export does not handle circular references in /home/tskamath/tsktech.
   in/wp-content/plugins/media-library-assistant/includes/class-mla-mime-types.php
   on line 325
 * Warning: var_export does not handle circular references in /home/tskamath/tsktech.
   in/wp-content/plugins/media-library-assistant/includes/class-mla-mime-types.php
   on line 407
 * Warning: var_export does not handle circular references in /home/tskamath/tsktech.
   in/wp-content/plugins/media-library-assistant/includes/class-mla-mime-types.php
   on line 407
 * Warning: var_export does not handle circular references in /home/tskamath/tsktech.
   in/wp-content/plugins/media-library-assistant/includes/class-mla-mime-types.php
   on line 407
 * Warning: var_export does not handle circular references in /home/tskamath/tsktech.
   in/wp-content/plugins/media-library-assistant/includes/class-mla-mime-types.php
   on line 407

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

 *  [khomenkov](https://wordpress.org/support/users/khomenkov/)
 * (@khomenkov)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/circular-ref/#post-10115400)
 * I have the same. deactivating the plug-in did not solve the problem. will have
   to use a backup of the site.
 *  Plugin Author [David Lingren](https://wordpress.org/support/users/dglingren/)
 * (@dglingren)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/circular-ref/#post-10115851)
 * Thank you both for your reports, and especially for posting the Warning message
   text.
 * I have released MLA Version 2.72, which disables the code responsible for the
   message. It would be great if you can update your system and confirm that the
   problem has been corrected.
    -  This reply was modified 8 years, 2 months ago by [David Lingren](https://wordpress.org/support/users/dglingren/).
 *  [khomenkov](https://wordpress.org/support/users/khomenkov/)
 * (@khomenkov)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/circular-ref/#post-10116548)
 * updated, activated and deactivated again. the problem has not disappeared
 *  Plugin Author [David Lingren](https://wordpress.org/support/users/dglingren/)
 * (@dglingren)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/circular-ref/#post-10116569)
 * Thanks for your update. I regret the trouble you are having.
 * It looks like you are having a similar but different problem, i.e., it is coming
   from some other part of the code. If you could post the actual text of the PHP
   messages it would be very helpful.
 * I am very surprised that deactivating MLA does not resolve the problem, since
   there is no MLA code running when it is disabled. I will do anything I can to
   help; any further details you can supply will let me be more specific. Thanks
   for your patience and understanding.
 *  [khomenkov](https://wordpress.org/support/users/khomenkov/)
 * (@khomenkov)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/circular-ref/#post-10116659)
 * Warning: var_export does not handle circular references in /home/[…]/awesomeprintstudio.
   com/htdocs/www/wp-content/plugins/media-library-assistant/includes/class-mla-
   mime-types.php on line 325
 * Warning: var_export does not handle circular references in /home/[…]/awesomeprintstudio.
   com/htdocs/www/wp-content/plugins/media-library-assistant/includes/class-mla-
   mime-types.php on line 325
 * thank you, the hosting service restored the site from backup. everything works
   fine.
    -  This reply was modified 8 years, 2 months ago by [khomenkov](https://wordpress.org/support/users/khomenkov/).
 *  Plugin Author [David Lingren](https://wordpress.org/support/users/dglingren/)
 * (@dglingren)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/circular-ref/#post-10116767)
 * Thanks for your update and the additional information. I am happy to read that
   your site is back in operation without too much disruption.
 * The warning message on line 325 is exactly what was wrong in MLA 2.71 and what
   I fixed in the 2.72 update. That line is now a comment, not an active statement,
   as is line 407 (from the first post).
 * I have done some testing on my own WooCommerce 3.3.4 site and I am unable to 
   reproduce the problem in 2.71 or 2.72. It should only occur if the theme or some
   other plugin has added a hook to the `upload_mimes` filter and/or the `post_mime_types`
   filter. Does your site include a theme or plugin that works with MIME types or
   Media Library file extensions?
 * You wrote “**_restored the site from backup. everything works fine._**” Does 
   this mean you were using MLA v2.70 or an earlier version, or was this a new MLA
   install?
 * As I wrote, I don’t understand why disabling the plugin did not resolve the Warnings
   or why the 2.72 update does not fix the problem. You could try updating again,
   but if that’s not helpful I can give you a way to install both MLA versions at
   the same time so you don’t have to restore from backup if the problem recurs.
   If you want to try the “both versions” setup, you can give me your contact information
   through the Contact Us page at our web site:
 * [Fair Trade Judaica/Contact Us](http://fairtradejudaica.org/our-story/contact-us/)
 * I will respond with more details about that alternative. Thanks for your understanding.
 *  [khomenkov](https://wordpress.org/support/users/khomenkov/)
 * (@khomenkov)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/circular-ref/#post-10116822)
 * Well, I’ll write to you through the feedback form on your website.
 *  [khomenkov](https://wordpress.org/support/users/khomenkov/)
 * (@khomenkov)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/circular-ref/#post-10116828)
 * Unfortunately this is not possible: “Forbidden – Users from your country are 
   not permitted to browse this site.”
 *  Plugin Author [David Lingren](https://wordpress.org/support/users/dglingren/)
 * (@dglingren)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/circular-ref/#post-10116866)
 * Thanks for offering to contact me through the site. We’ve blocked a few countries
   because the site has been hacked three times from them over the years. You can
   send an email to “info@fairtradejudaica.org” with your contact information.
 *  Plugin Author [David Lingren](https://wordpress.org/support/users/dglingren/)
 * (@dglingren)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/circular-ref/#post-10117542)
 * [@tskamath](https://wordpress.org/support/users/tskamath/) – I have been corresponding
   with [@khomenkov](https://wordpress.org/support/users/khomenkov/), but it would
   be most helpful if you can tell me whether the MLA 2.72 update resolved this 
   issue on your site. I have been unable to reproduce it on my own system and I
   suspect it involves an interaction with some other plugin or theme that is using
   one of the MIME type filters.
 * Thanks for your help and any other information you can provide.
 *  Plugin Author [David Lingren](https://wordpress.org/support/users/dglingren/)
 * (@dglingren)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/circular-ref/#post-10230312)
 * I have released MLA version 2.73, which contains the final changes made for this
   topic.
 * I am marking the topic resolved, but please update it if you have any problems
   or further questions about the circular reference issue in the new release.

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

The topic ‘Circular Ref.’ is closed to new replies.

 * ![](https://ps.w.org/media-library-assistant/assets/icon-256x256.png?rev=973502)
 * [Media Library Assistant](https://wordpress.org/plugins/media-library-assistant/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/media-library-assistant/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/media-library-assistant/)
 * [Active Topics](https://wordpress.org/support/plugin/media-library-assistant/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/media-library-assistant/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/media-library-assistant/reviews/)

 * 11 replies
 * 3 participants
 * Last reply from: [David Lingren](https://wordpress.org/support/users/dglingren/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/circular-ref/#post-10230312)
 * Status: resolved