Home Forums Theme Support Cassiopeia Will Cassiopeia get a 4.0 update?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #3863

    Found this error after updating

    Deprecated: Function ereg_replace() is deprecated in /Applications/XAMPP/xamppfiles/htdocs/XXXXXXX/wp-content/themes/cassiopeia/admin/admin-interface.php on line 1287

    Deprecated: Function ereg_replace() is deprecated in /Applications/XAMPP/xamppfiles/htdocs/XXXXXXXX/wp-content/themes/cassiopeia/admin/admin-interface.php on line 1288

    #3889

    Hi there,

    That’s a notice that will not affect the site in anyway. I’m too on WP 4.0 and it’s working fine. Just don’t have the notices active on your production server (which is also not recommended).

    Though, I’ll fix it these days and will make sure that the notice will disappear too but it’s not something you need to worry about.

    Cheers!
    Chris

    #3911

    Hi Chris

    Yes, it doesn’t affect the site. But I was willing to know if you are planning to update the code so it uses the recommended function?

    It would be nice to have the fix that you are planning.

    Cheers

    #3926

    Hey,

    You can edit the file “admin-interface.php” and replace lines 1287 and 1288 with this:

    $header_class = preg_replace("/[^A-Za-z0-9_]/", "", strtolower($value['name']) );
    $jquery_click_hook = preg_replace("/[^A-Za-z0-9_]/", "", strtolower($value['name']) );

    Let me know how’s going.

    Cheers!

    #3942

    New error on log file

    [18-Sep-2014 13:35:26] PHP Notice: get_theme_data is deprecated since version 3.4! Use wp_get_theme() instead. in /Applications/XAMPP/xamppfiles/htdocs/XXXXXXXXXX/wp-includes/functions.php on line 3201

    #3949

    Hey,

    Simply remove this from the functions.php file on line 731:

    // Update Notifier
    require('admin/update-notifier.php');

    Save. Done.

    Cheers!

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.