We will do our best to assist you with any issues related to our themes and plugins.
Home › Forums › Theme Support › Cassiopeia › Will Cassiopeia get a 4.0 update?
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
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.
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.
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.
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
Simply remove this from the functions.php file on line 731:
// Update Notifier
You must be logged in to reply to this topic.