Title: Save button doesn&#039;t work
Last modified: August 21, 2016

---

# Save button doesn't work

 *  Resolved [sdglhm](https://wordpress.org/support/users/sdglhm/)
 * (@sdglhm)
 * [13 years ago](https://wordpress.org/support/topic/save-button-doesnt-work/)
 * I’m using AGCA plugin for my blog site ( `Version 1.2.7`). But when I clicked
   on Save it doesn’t work. What should I do?
 * [http://wordpress.org/extend/plugins/ag-custom-admin/](http://wordpress.org/extend/plugins/ag-custom-admin/)

Viewing 15 replies - 1 through 15 (of 20 total)

1 [2](https://wordpress.org/support/topic/save-button-doesnt-work/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/save-button-doesnt-work/page/2/?output_format=md)

 *  [WAP Support](https://wordpress.org/support/users/argonius/)
 * (@argonius)
 * [13 years ago](https://wordpress.org/support/topic/save-button-doesnt-work/#post-3667355)
 * Please take a look in the browser’s console. It is very possible that an error
   is logged there for some reason. Please post it back here. Thanks.
 *  Thread Starter [sdglhm](https://wordpress.org/support/users/sdglhm/)
 * (@sdglhm)
 * [13 years ago](https://wordpress.org/support/topic/save-button-doesnt-work/#post-3667366)
 * Dear [@argonius](https://wordpress.org/support/users/argonius/), This is the 
   browser console log, It appears when I clicked on Save button.
 *     ```
       Uncaught ReferenceError: isSettingsImport is not defined           ag_script.js:49
       processData                                                        ag_script.js:49
       (anonymous function)                                              ag_script.js:40
       v.event.dispatch                                                     load-scripts.php:2
       o.handle.u                                                           load-scripts.php:2
       v.event.trigger                                                       load-scripts.php:2
       (anonymous function)                                               load-scripts.php:2
       v.extend.each                                                        load-scripts.php:2
       v.fn.v.each                                                           load-scripts.php:2
       v.fn.extend.trigger                                                   load-scripts.php:2
       v.fn.(anonymous function)                                           load-scripts.php:2
       savePluginSettings                                                   ag_script.js:36
       onclick
       ```
   
 * Here is a screen shot. [http://s2.postimg.org/i89ngczop/fbda.png](http://s2.postimg.org/i89ngczop/fbda.png)
 * Thanks
 *  [WAP Support](https://wordpress.org/support/users/argonius/)
 * (@argonius)
 * [13 years ago](https://wordpress.org/support/topic/save-button-doesnt-work/#post-3667375)
 * I think this is related to the first error which is thrown in tools.php 233
    
   Please try to navigate to this page in your browser directly and see if this 
   error is visible in console again.
 * You can try to view the source of the generated page: right click -> View Page
   Source, and try to find that line. Please post your results back here.
 * Thanks
 *  Thread Starter [sdglhm](https://wordpress.org/support/users/sdglhm/)
 * (@sdglhm)
 * [13 years ago](https://wordpress.org/support/topic/save-button-doesnt-work/#post-3667388)
 * Dear argonius,
    If I deactivate the AGCA plugin and browser wp-admin/tools.php
   there is no error in console. If I switch it on. There it is. The error.
 * Line 232. (New line in console.)
 *     ```
       jQuery("#footer-upgrade").html('බලය ලැබුවේ WordPress මඟිනි. නිර්මාණය <a href="http://facebook.com/creations.inc" title="Creation's inc."> Creation's inc.</a>');
       ```
   
 * (If you see boxes, They are Sinhala characters.)
 * Also error is showed on every page. (in console)
 * Thanks.
 *  [WAP Support](https://wordpress.org/support/users/argonius/)
 * (@argonius)
 * [13 years ago](https://wordpress.org/support/topic/save-button-doesnt-work/#post-3667390)
 * Thank you for the brief explanation. A single quote character is probably causing
   this error. Please find the line:
 * `jQuery("#footer-upgrade").html('<?php echo get_option('agca_footer_right'); ?
   >');`
 * in plugin.php and replace it with this line:
 * `jQuery("#footer-upgrade").html('<?php echo addslashes(get_option('agca_footer_right'));?
   >');`
 * I think this should fix this problem. You can expect that this patch will be 
   applied in next versions, so you don’t have to worry about it when you upgrade
   your AGCA plugin.
 * Thanks,
    Argonius
 *  Thread Starter [sdglhm](https://wordpress.org/support/users/sdglhm/)
 * (@sdglhm)
 * [13 years ago](https://wordpress.org/support/topic/save-button-doesnt-work/#post-3667427)
 * Thanks argonius,
 * I will try and let you know. Thanks for the quick reply.
 * Thanks.
 *  [AngieP](https://wordpress.org/support/users/angiep/)
 * (@angiep)
 * [13 years ago](https://wordpress.org/support/topic/save-button-doesnt-work/#post-3667442)
 * Thank you Argonius!
 * The patch above works perfectly.
 * Angie
 *  [jx1](https://wordpress.org/support/users/jx1/)
 * (@jx1)
 * [13 years ago](https://wordpress.org/support/topic/save-button-doesnt-work/#post-3667445)
 * Didn’t work for me ):
 * I have this error:
    (from firebug)
 * —
 *     ```
       ReferenceError: isSettingsImport is not defined
       [Break On This Error] 	
   
       if(!isSettingsImport){
       ```
   
 *  on [http://proeducaac.com/wp-content/plugins/ag-custom-admin/script/ag_script.js?ver=1.2.7](http://proeducaac.com/wp-content/plugins/ag-custom-admin/script/ag_script.js?ver=1.2.7)(
   line 653)
 * plus
 *     ```
       SyntaxError: unterminated string literal
       [Break On This Error] 	
   
       s las páginas", "undefined"],["Añadir nueva", "undefined"],["
       ```
   
 * on [http://proeducaac.com/wp-admin/tools.php?page=ag-custom-admin/plugin.php](http://proeducaac.com/wp-admin/tools.php?page=ag-custom-admin/plugin.php)(
   line 86, col 60) (am using WP in Spanish, but only the pot files translate it.
   Tried in English too, but still no go)
 * and
 *     ```
       ReferenceError: wpversion is not defined
       [Break On This Error] 	
   
       wp_ver: wpversion,
       ```
   
 * on [http://proeducaac.com/wp-content/plugins/ag-custom-admin/script/ag_script.js?ver=1.2.7](http://proeducaac.com/wp-content/plugins/ag-custom-admin/script/ag_script.js?ver=1.2.7)(
   line 868)
 * any ideas? ):
 * I did exactly this you mention. but nothing.
    Thanks in advance, 😀
 *  [WAP Support](https://wordpress.org/support/users/argonius/)
 * (@argonius)
 * [13 years ago](https://wordpress.org/support/topic/save-button-doesnt-work/#post-3667457)
 * Hi,
 * I think this problem is related to quote characters in your custom admin menu
   buttons names. If this is the case, this problem will be fixed in next version.
   Please delete AGCA and all AGCA settings and files (confirmation button YES),
   and install fresh copy after that. Then, populate custom buttons one after another
   and choose save AGCA settings between each change. Find out after which change
   AGCA is broken.
 * You could also send me a copy of your rendered page to email for debugging. The
   problem is most likely in JavaScript when settings this variable “textboxes”.
   So you could try to find this:
 * `var textboxes =[some json data]`
 * to check.
 * Thanks,
    Argonius
 *  [WAP Support](https://wordpress.org/support/users/argonius/)
 * (@argonius)
 * [13 years ago](https://wordpress.org/support/topic/save-button-doesnt-work/#post-3667458)
 * Please remove all data from current AGCA version, and try to install this new
   beta version 1.2.7.1. It should hopefully contain fix for this issue.
 * [http://downloads.wordpress.org/plugin/ag-custom-admin.1.2.7.1.zip](http://downloads.wordpress.org/plugin/ag-custom-admin.1.2.7.1.zip)
 *  Thread Starter [sdglhm](https://wordpress.org/support/users/sdglhm/)
 * (@sdglhm)
 * [13 years ago](https://wordpress.org/support/topic/save-button-doesnt-work/#post-3667464)
 * [@argonius](https://wordpress.org/support/users/argonius/), I’m terribly sorry
   about the delay. There was heavy raining and thundering in Kandy (Sri Lanka) 
   So I couldn’t able to reply to you. As you said, I’ve updated the plugin.php 
   and it’s working now. Thanks very much Brother.
 *  [WAP Support](https://wordpress.org/support/users/argonius/)
 * (@argonius)
 * [13 years ago](https://wordpress.org/support/topic/save-button-doesnt-work/#post-3667469)
 * No problem at all. Thank you for your feedback. Patch for this issue is applied
   in new version 1.2.7.1. Thanks!
 *  [valerie.vdv](https://wordpress.org/support/users/valerievdv/)
 * (@valerievdv)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/save-button-doesnt-work/#post-3667503)
 * I am experiencing the same problem “save button does’nt work” with one of my 
   website on a wordpress multisite with a 1.2.7.1 version of AG custom admin. The
   console errors are : wpversion is not defined ag_script.js:881 and isSettingsImport
   is not defined ag_script.js:654.
 * Reading above, i thought the problem was fixed in version 1.2.7.1 ?
 * My concern is to have to deactivate the plugin and reactivate it : I will have
   to configure the admin menu for all the website working well today.
 * What should I do ?
 * Thanks in advance
 *  [WAP Support](https://wordpress.org/support/users/argonius/)
 * (@argonius)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/save-button-doesnt-work/#post-3667504)
 * You have different error with the same effect. To resolve that error, please 
   try clearing browser’s cache first. If that does not solve it, please update 
   the plugin to new version. You don’t need to reinstall it.
 *  [valerie.vdv](https://wordpress.org/support/users/valerievdv/)
 * (@valerievdv)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/save-button-doesnt-work/#post-3667505)
 * Hi Argonius,
 * Thanks for your quick reply. Before asking for support, I already clean my browser’s
   cache and updated to the last 1.2.7.2 version and I still exprerience the same
   trouble.
 * Investigating, I found that I used a quote in the custom blog heading (Fil d’actu
   portail) and I wonder if this is not the trouble. I have in the console Uncaught
   SyntaxError: Unexpected identifier tools.php:124
    due to jQuery(“#wphead #site-
   heading”).after(‘<h1>Fil d’actu portail</h1>’);
 * What is your analysis ?
    Thanks

Viewing 15 replies - 1 through 15 (of 20 total)

1 [2](https://wordpress.org/support/topic/save-button-doesnt-work/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/save-button-doesnt-work/page/2/?output_format=md)

The topic ‘Save button doesn't work’ is closed to new replies.

 * ![](https://ps.w.org/ag-custom-admin/assets/icon.svg?rev=2928712)
 * [AGCA - Custom Dashboard & Login Page](https://wordpress.org/plugins/ag-custom-admin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ag-custom-admin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ag-custom-admin/)
 * [Active Topics](https://wordpress.org/support/plugin/ag-custom-admin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ag-custom-admin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ag-custom-admin/reviews/)

 * 20 replies
 * 5 participants
 * Last reply from: [valerie.vdv](https://wordpress.org/support/users/valerievdv/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/save-button-doesnt-work/page/2/#post-3667515)
 * Status: resolved