Title: Messing with theme function.php
Last modified: August 21, 2016

---

# Messing with theme function.php

 *  Resolved [bobwadd](https://wordpress.org/support/users/bobwadd/)
 * (@bobwadd)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/messing-with-theme-functionphp/)
 * Since the update to version 2.3 the functions.php in the Duena theme is reset
   to zero (0) size. I verified this by turning off the GUA plugin and had no issues
   for three days. Turned it back on last night and within two hours the site was
   down again. I FTPd back in and noticed that once again the mentioned file is 
   was once again zero. Everything worked fine before the 2.3 update.
 * [https://wordpress.org/plugins/google-universal-analytics/](https://wordpress.org/plugins/google-universal-analytics/)

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

 *  Plugin Author [Audrius Dobilinskas](https://wordpress.org/support/users/audriusd-1/)
 * (@audriusd-1)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/messing-with-theme-functionphp/#post-4921619)
 * Did you see any errors displayed? What options did you select in plugin’s settings?
 *  Thread Starter [bobwadd](https://wordpress.org/support/users/bobwadd/)
 * (@bobwadd)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/messing-with-theme-functionphp/#post-4921624)
 * No errors displayed and my host looked into it also.
 * Had both GA and GUA turned on with default settings.
 * Need to keep the site up through the weekend. I can do more troubleshooting next
   week if you wish.
 * I have verified three times that it is this plugin causing the issue. I suppose
   it could also be an issue with the theme but it only appears when plugin is activated.
 * Thanks for getting back to me so quick, Bob
 *  Plugin Author [Audrius Dobilinskas](https://wordpress.org/support/users/audriusd-1/)
 * (@audriusd-1)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/messing-with-theme-functionphp/#post-4921765)
 * Hello Bob,
 * I am taking this feature from the plugin at least for a while. Others are experiencing
   issue with it as well. I will re-introduce it when I figure out what the problem
   is. I will let you know!
 * — Audrius
 *  Thread Starter [bobwadd](https://wordpress.org/support/users/bobwadd/)
 * (@bobwadd)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/messing-with-theme-functionphp/#post-4921766)
 * Thanks for the follow-up. I assume you will either be rolling back the version
   or upgrading to 2.4 in the near future?
 *  Plugin Author [Audrius Dobilinskas](https://wordpress.org/support/users/audriusd-1/)
 * (@audriusd-1)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/messing-with-theme-functionphp/#post-4921790)
 * Hello Bob,
 * There is an update available right now – 2.3.0.2 version. Can you confirm that
   it solves the issue?
 *  [agapian](https://wordpress.org/support/users/agapian/)
 * (@agapian)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/messing-with-theme-functionphp/#post-4921806)
 * I checked use in footer option from plug-in settings and it conflicts with my
   function.php
 * Parse error: syntax error, unexpected ‘}’ in /home/namesite/public_html/wp-content/
   themes/wootique/functions.php on line 89
 * What can I do to fix this because I do not have acces not eaven to my admin because
   of this error!
 * I deleted the files from plugin folder and put new ones.. but the problems is
   in the database … so I think!
 * Please advise!
 *  Plugin Author [Audrius Dobilinskas](https://wordpress.org/support/users/audriusd-1/)
 * (@audriusd-1)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/messing-with-theme-functionphp/#post-4921807)
 * Did you use the latest plugin version? What other options did you use?
 * Well, plugin is not using MySQL so I don’t think it should affect your database.
 *  [agapian](https://wordpress.org/support/users/agapian/)
 * (@agapian)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/messing-with-theme-functionphp/#post-4921809)
 * it is the woocommerce option! that is the problem! I recovered my database from
   my provider and checked the options one at a time… it turns out that Woocommerce
   option is to blame!
 *  [agapian](https://wordpress.org/support/users/agapian/)
 * (@agapian)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/messing-with-theme-functionphp/#post-4921810)
 * you where wright it did not affect the database.. it did mess with the files 
   in woocommerce! I do not know where, exactly!
 *  Thread Starter [bobwadd](https://wordpress.org/support/users/bobwadd/)
 * (@bobwadd)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/messing-with-theme-functionphp/#post-4921811)
 * agapian,
 * All I had to do to resolve the issue was disable the plugin and replace the function.
   php with a backup copy and all was well.
 *  Thread Starter [bobwadd](https://wordpress.org/support/users/bobwadd/)
 * (@bobwadd)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/messing-with-theme-functionphp/#post-4921812)
 * I do not use woocommerce.
 *  Plugin Author [Audrius Dobilinskas](https://wordpress.org/support/users/audriusd-1/)
 * (@audriusd-1)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/messing-with-theme-functionphp/#post-4921815)
 * Bobwadd is right, just replace functions file. Also, delete the old plugin version
   and install the latest version. There is some extra functionality added so that
   WooCommerce option would not mess functions.php file again.
 *  [agapian](https://wordpress.org/support/users/agapian/)
 * (@agapian)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/messing-with-theme-functionphp/#post-4921816)
 * I did! It does the same with the new version! i deleted it it is no use for me!
   Sorry!
    I restore my site with a backup!
 *  Plugin Author [Audrius Dobilinskas](https://wordpress.org/support/users/audriusd-1/)
 * (@audriusd-1)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/messing-with-theme-functionphp/#post-4921828)
 * Ok. I have completely removed WooCommerce feature in the latest plugin version.

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

The topic ‘Messing with theme function.php’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/google-universal-analytics_e1e9e2.
   svg)
 * [Google Universal Analytics](https://wordpress.org/plugins/google-universal-analytics/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-universal-analytics/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-universal-analytics/)
 * [Active Topics](https://wordpress.org/support/plugin/google-universal-analytics/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-universal-analytics/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-universal-analytics/reviews/)

## Tags

 * [zero](https://wordpress.org/support/topic-tag/zero/)

 * 14 replies
 * 3 participants
 * Last reply from: [Audrius Dobilinskas](https://wordpress.org/support/users/audriusd-1/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/messing-with-theme-functionphp/#post-4921828)
 * Status: resolved