Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #694230

    This is directed the skilled moderators on here. I’m you guys will have the smarts for this.

    We have an site that was developed a few years ago and used Enfold 2.4.2 The theme on it has not bene updated since, however just recently the Advanced Layout Editor has stopped working and we can not edit any pages. We need to make some updates in the next couple of days, and so we are desperate for a solution.

    I have spent all night trying to suggestions offered in relation to other examples of the Advanced Layout Editor breaking, but I can not solve it. I have spent hours trying to replicate the site onto my local machine using MAMP, and can not get that to work either. At the same time I don’t want to mess around with the live version.

    The theme has had custom changes made to css files, the header.php. footer.php, functions.php (there could be others) etc. Not ideal I know, but at the time it was done with limited understanding of child themes, etc. It also means that a simple theme upgrade is not that easy right now. I do not have a clean copy of Enfold 2.4.2 to compare the files with either.

    I am hoping there is a simple fix that can just make pages editable again, and then we can look at upgrading the site/theme properly next week. Maybe it’s just to roll back the version of wordpress to a much older one? I’m not entirely sure how to do that safely either…

    If somebody could assist us in working out how to make the site work again it would be wonderful. Details are provided in the private content area.

    Thanks,
    Mon

    • This topic was modified 8 years, 1 month ago by Glyphism.
    #694301

    Hey Glyphism,

    The theme version you are running is likely not compatible with the WordPress version you are running. I tried logging in to have a closer look but it seems your site is down?

    Regards,
    Rikard

    #694306

    Can you try right now I just checked it and it looks like it is up. you might’ve caught it during some scheduled maintenance I’m not too sure.

    The more I think about it the more I think the safest approach might be to roll back the version of WordPress to an old one?

    #694440

    Hi,

    That might be a step in the right direction yes, do you know what version you were running when it was working?

    Edit: login is working now, thanks.

    Best regards,
    Rikard

    • This reply was modified 8 years, 1 month ago by Rikard.
    #694459

    No I’m not sure which version it was. I could just try going back version by version until it starts working again.

    Is it a simple exercise to roll back versions? From what I have read you just replace all the wordpress files accept the wp-content folder and everything still works? I just can’t afford for the site to go down as I have no way of fixing it if it does. I’m not really a tech guy, I’m a designer who tries to do a bit of wordpress but no real PHP or advanced troubleshooting skills.

    #694857

    Hi,

    That should be the correct process yes, it’s shouldn’t be any different than upgrading manually. Whatever path you do chose, please make sure to make backups of the site before attempting to roll back the WordPress version.

    Best regards,
    Rikard

    #694858

    Ok thanks I will hold my breath and give it a shot.

    #694919

    Hi,

    Thank you for your cooperation. Please feel free to reach out to us if you need further help.

    Best regards,
    Vinay

    #695307

    Hi Rikard,

    So I am pleased to say that I have been able to rollback the version of wordpress to 3.9 to get the layout editor working again. It is not ideal, but it is a solution for now. I tested this process about 3 times on a local copy of the site, to make sure the process was solid, and luckily it all worked.

    The only small issue I have is that the text in the page editor fields is all white, and not readable when editing it. I can flick over the plain text mode and work with that, but I wonder if you can take a look at it and see if you know what might be causing this white text? It only happens when you try and actually edit some text.

    #695849

    Hi,

    Great, glad you got it working :-)

    Please try this at the end of your functions.php file under Appearance–>Editor

    function ava_change_admin_text_color() { ?>
    <style>
    .js .tmce-active .wp-editor-area {
        color: #000;
    }
      </style>
    <?php
    }
    
    add_action('admin_head', 'ava_change_admin_text_color');

    Regards,
    Rikard

    #702182

    Rikard I have tried adding the to the bottom of the functions.php but it did not work. The text is still white? Any other ideas?

    #702720

    Hi,

    On what page or post are you still seeing the problem? I checked some of your posts and the text is all black.

    Regards,
    Rikard

    • This reply was modified 8 years, 1 month ago by Rikard.
    #707595

    Hi Rikard. I am seeing this problem when logged into the CMS and editing pages. The text appears black when are you looking at the page draft, but when you then click on a layout element to edit the text, you will see that the text in the editing window is all white. The only way to read it, is to switch to text mode. My client can’t do this, they will just keep breaking the formatting of the site.

    #708806

    Hi,

    Sorry for the late reply, it looks like the CSS I gave you is being overridden, I tried editing it myself but the update button seems to be missing under Appearance->Editor? Please try this instead of the previous code I gave you:

    function ava_change_admin_text_color() { ?>
    <style>
    .js .tmce-active .wp-editor-area {
        color: #000 !important;
    }
      </style>
    <?php
    }
    
    add_action('admin_head', 'ava_change_admin_text_color');

    Best regards,
    Rikard

    #708985

    Ok thanks let me try this and get back to you. I appreciate your help trying to solve this!

    #709004

    Hey Glyphism,

    Let us know if it works :)

    Best regards,
    Nikko

Viewing 16 posts - 1 through 16 (of 16 total)
  • You must be logged in to reply to this topic.