• I’ve noticed that several MaxButton features have stopped working a few days ago. I’ve gone through the disabling of other plugins, but can’t find what’s wrong.

    I’ve made about 16 buttons and the buttons are showing as made on the webpage. My problem is that I’m not able to edit buttons from my admin panel, i.e. button-link, text dimensions, colors etc. I am allowed to change the link, but the save-button inside the admin panel is not working, no saving are taking place, and the link stays as before.

    I am not able to change the colours of the buttons either, in fact the colours does’nt show anymore under “Colors- Text – Text Shadow – Gradient start….etc.

    To be spesific – I am able to seemingly change the values of each of these choices, but that has no effect as neither of the save-buttons on top or at the bottom actually saves anything.

    I’m using Tesseract v 2.2.

    https://wordpress.org/plugins/maxbuttons/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter Wompa

    (@wompa)

    Much appreciated, Bas.

    For your information I have Tesseract v. 2.2 which was upgraded from version 2.1.2 three days ago. I also have bought and activated the “no-brand” plugin from the theme author (Tyler.com).

    Plugin Author Bas Schuiling

    (@basszje)

    So the update collided with our update. I checked if there was a quick fix for this, but from our side there is none unfortunately. In the old version of Tesseract (2.1) this problem is not there.

    The temporary solution is to remove the offending code from your theme. Go to functions.php and find this piece:

    echo '<script type="text/javascript">
        jQuery(function($){
            $("a").each(function(){
                strhref = $(this).attr("href");
                if(strhref.toLowerCase().indexOf("wpbeaverbuilder.com") >= 0){
                    $(this).attr("href","https://www.wpbeaverbuilder.com/pricing/?fla=50&campaign=tesseracttheme");
                }
            });
        });
        </script>';

    It’s in a function called ‘display_notice’ .

    @wompa On your website I did this procedure already as a proof of concept so it’s all working again.

    We’ll notify the theme author as well of this problem since it will probably cause multiple problems. Also it wouldn’t be bad to enter a ticket in support there as well.

    Thread Starter Wompa

    (@wompa)

    Very much appreciated Bas! Especially as the code was not in your plugin. As I’m a newbie in coding, are you able to see what your removal of the conflicting code actually changes in the conflicting plugin?

    I have tested this and now this works fine again.

    I also would point out that your fix also fixed another issue I had discovered today. My admin panel in WP did not function as it should. When I tried to edit the link of a page, it was frozen, but your fix have also solved this issue. I was not able to define the status of a new site anymore either, with the last issue.

    In MaxButton your fix also defroze the preview button window that rwlind refers to, which I also had a problem with.

    I’m impressed with your support on this issue Bas, and both you and the support will get ac clean 5 from me. I’m also probably going to buy the MaxButton Pro, as I see there was no issue with MaxButton.

    Plugin Author Bas Schuiling

    (@basszje)

    The removed code has the purpose of replacing a certain URL for the beaver pagebuilder advert to include his referal code.

    Unfortunately in some cases the link anchor doesn’t have a URL ( like the save button in our plugin ). The code doesn’t check that, errors and ends all javascript execution. This is why all the dynamic items stopped working.

    Thanks for the compliments! Doing our best here.

    Hi Bas
    I am having the same issue. Unfortunately when I tried to implement the solution you provided I got the following error. Parse error: syntax error, unexpected ‘if’ (T_IF), expecting ‘{‘ in /home2/vedictre/public_html/wp-content/themes/TESSERACT/functions.php on line 994

    What am I doing wrong??? Need help.

    Plugin Author Bas Schuiling

    (@basszje)

    Then you have removed too much. Please only remove the part mentioned, otherwise problems my occur.

    Hi Bas
    Thanks for your reply. Let me make sure I understand the exact parts…
    According to your post, I should find the code under display_notice and remove it i.e. cut this section

    function display_notice() {
    echo ‘<script type=”text/javascript”>
    jQuery(function($){
    $(“a”).each(function(){
    strhref = $(this).attr(“href”);
    if(strhref.toLowerCase().indexOf(“wpbeaverbuilder.com”) >= 0){
    $(this).attr(“href”,”https://www.wpbeaverbuilder.com/pricing/?fla=50&campaign=tesseracttheme&#8221;);
    }
    });
    });
    </script>’;

    If that is correct, that is what I did when I got the error… If not, please let me know what I did wrong.
    Thanks a bunch again. Really appreciate it.

    Plugin Author Bas Schuiling

    (@basszje)

    Apart from the ‘function display_notice {‘ line, which was not included in my to-be-removed and indeed will crash the site.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Save button on admin panel stopped working’ is closed to new replies.