• Good evening,

    I am a teacher, amateur Web Developer, and I want to mention a very serious problem that has to do with the additional CSS of my business website (wordpress, appearance-> additional CSS). While typing the desired CSS (and the changes are correct in the preview) I click on the “Publish” option, but the changes are not stored/saved and when I go back to the CSS editor there is none of the changes/additions I made. I have been entering CSS for several years and that has not happened again. WordPress version and all my plugins are up to date.

    In order to correct the problem:

    1. I turned off a lot of plugins for the case of a conflict. I avoid turning off everything, because a lot of things will ruin the website and I’m afraid I will have to reconfigure everything again from scratch. I am thinking of doing this as a last option.

    2. I tried all the browsers, cleaning their cache.

    3. I cleaned the WordPress cache.

    4. I made sure I typed CSS correctly.

    None of them worked. I searched similar cases in other forums, but nothing worked. Here I mention that the theme of my website is not been upgraded for several years and its company will obviously not be involved with it again. So, is this a theme problem? This would be a very nightmare scenario, as I may have to make my website from the beginning with another theme. Thanks in advance for any advice.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • If the memory limit is exhausted then this issue can be faced. Although that could be one of the reason. Please see if you are getting any errors in your dashboard or in error log and then try adding following in wp-config.php file and then try saving the CSS again.

    define(‘WP_MEMORY_LIMIT’, ‘1024M’);

    • This reply was modified 3 years, 11 months ago by Samuel O.. Reason: edited code block
    Thread Starter efthimistzimos

    (@efthimistzimos)

    Unfortunately the same problem again. With the debugging mode enabled, the message I get is:

    Notice: The add_submenu_page function was incorrectly called. The seventh parameter sent to add_submenu_page () must be an integer that represents the position of the menu. Please see the Debugging in WordPress page for more information. (This message was added to ed. 5.3.0 ) in /var/www/vhosts/efthimistzimos.sites.sch.gr/httpdocs/wp-includes/functions.php on line 5831
    
     
    
    DEPRECATED: Hook contextual_Help is obsolete by version 3.3.0 onwards! Use Get_Current_screen ()-> add_Help_tab (), get_current_screen ()-> remove_help_tab () instead. in /var/www/vhosts/efthimistzimos.sites.sch.gr/httpdocs/wp-includes/functions.php on Line 5754

    (google translated from Greek)

    Thread Starter efthimistzimos

    (@efthimistzimos)

    Also, let me mention that the problem only occurs in child theme. If I change to parent theme, everything works normally.

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

The topic ‘Error in additional CSS (WordPress 6.0)’ is closed to new replies.