i have the same problem: i cannot see my dashboard
the message:
Fatal error: Call to undefined function: wp_register_sidebar_widget() in /nfs/c01/h02/mnt/4820/domains/soundscapes.be/html/blog/wp-admin/includes/dashboard.php on line 32
I am not using K2, but TripleK2 and don't have the files you're talking about. I do have app/includes/sbm.php
i tried to replace this with the recent k2, but that didn't work out well.
anyone an idea what I can do to fix the dashboard?
I don't feel like making a new theme (it's an modified theme which looks great in my opinion).
The code of the sbm.php
<?php
function sbm_get_option($name) {
global $k2sbm_current_module;
return $k2sbm_current_module->get_option($name);
}
function sbm_add_option($name, $value = '', $description = '', $autoload = 'yes') {
global $k2sbm_current_module;
$k2sbm_current_module->add_option($name, $value, $description);
}
function sbm_update_option($name, $newvalue) {
global $k2sbm_current_module;
$k2sbm_current_module->update_option($name, $newvalue);
}
function sbm_delete_option($name) {
global $k2sbm_current_module;
$k2sbm_current_module->delete_option($name);
}
function register_sidebar($args = array()) {
K2SBM::register_sidebar($args);
}
function unregister_sidebar($name) {
K2SBM::unregister_sidebar($name);
}
function register_sidebars($count = 1, $args = array()) {
K2SBM::register_sidebars($count, $args);
}
function dynamic_sidebar($name = 1) {
return K2SBM::dynamic_sidebar($name);
}
function register_sidebar_module($name, $callback, $css_class = '', $options = array()) {
K2SBM::register_sidebar_module($name, $callback, $css_class, $options);
}
function unregister_sidebar_module($name) {
K2SBM::unregister_sidebar_module($name);
}
function is_active_module($callback) {
return K2SBM::is_active_module($callback);
}
function register_sidebar_module_control($name, $callback) {
K2SBM::register_sidebar_module_control($name, $callback);
}
function unregister_sidebar_module_control($name) {
K2SBM::unregister_sidebar_module_control($name);
}
function register_sidebar_widget($name, $callback, $classname = '') {
K2SBM::register_sidebar_module($name, $callback, $classname);
}
function unregister_sidebar_widget($name) {
K2SBM::unregister_sidebar_module($name);
}
function is_active_widget($callback) {
return K2SBM::is_active_module($callback);
}
function register_widget_control($name, $callback, $width = false, $height = false) {
// Chop off W & H, not needed
K2SBM::register_sidebar_module_control($name, $callback);
}
function unregister_widget_control($name) {
K2SBM::unregister_sidebar_module_control($name);
}
?>
tx for trying to help.