Support

Search results for ""

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

Fatal error: Uncaught Error: Call to undefined function

On WP Multisite with the the latest WPML and Admin Columns Pro installed I get a Fatal Error when trying to access String Translation under WPML. Error log below:

Fatal error: Uncaught Error: Call to undefined function ACP\Editing\Service\User\get_editable_roles() in /code/wp-content/plugins/admin-columns-pro/classes/Editing/Service/User/Role.php:14 Stack trace: #0 /code/wp-content/plugins/admin-columns-pro/classes/Editing/ColumnInlineSettingsSetter.php(26): ACP\Editing\Service\User\Role->get_view(‘single’) #1 /code/wp-content/plugins/admin-columns-pro/classes/Editing/Addon.php(83): ACP\Editing\ColumnInlineSettingsSetter->register(Object(ACP\Column\User\Role)) #2 /code/wp-includes/class-wp-hook.php(303): ACP\Editing\Addon->register_column_settings(Object(ACP\Column\User\Role)) #3 /code/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array) #4 /code/wp-includes/plugin.php(470): WP_Hook->do_action(Array) #5 /code/wp-content/plugins/admin-columns-pro/admin-columns/classes/Column.php(288): do_action(‘ac/column/setti…’, Object(ACP\Column\User\Role)) #6 /code/wp-content/plugins/admin-columns-pro/admin-columns/classes/Column.php(241): AC\Column->get_settings() #7 /code/ in /code/wp-content/plugins/admin-columns-pro/classes/Editing/Service/User/Role.php on line 14

2 years, 5 months ago
Stefan van den Dungen Gronovius
Developer

Thanks for your feedback, I was able to reproduce the issue.
We made a fix for the next release. You can change the content of the file mentioned in the error with the content from this snippet.

https://gist.github.com/DGStefan/93e342a6f465be78ec5464deaec10668

2 years, 5 months ago

You must be logged in to reply to this topic.