Support

Search results for ""

Sorry, no results found. Perhaps you would like to search the documentation?
All Topics
John

Fatal error: Call to undefined function cac_is_settings_screen()

Hi there,

Getting this error on this file:

Fatal error: Call to undefined function cac_is_settings_screen() in …/plugins/admin-columns-pro/classes/ms-user/storage_model/ms-user.php on line 60

When viewing all users in multisite network admin (http://blog.com/wp-admin/network/users.php)

Fixed it by changing


if ( cac_is_settings_screen() ) {
$columns = array_merge( get_column_headers( 'users' ), $columns );
}

to


if( function_exists('cac_is_settings_screen') ) {
if ( cac_is_settings_screen() ) {
$columns = array_merge( get_column_headers( 'users' ), $columns );
}
}

Any ideas as to why this has just started happening?
Recently updated to latest version

thanks

Tom

10 years, 10 months ago
Stefan van den Dungen Gronovius
Developer

Please see also this ticket:

Fatal error: cac_is_settings_screen

We have fixed this and will release the new version today.

10 years, 10 months ago
John

excellent!

10 years, 10 months ago
Stefan van den Dungen Gronovius
Developer

I will close this ticket

10 years, 10 months ago