• Resolved toto

    (@toto)


    plugins/dx-delete-attached-media/dx-delete-attached-media.php(339
    PHP Fatal error: Uncaught Error: Call to undefined function wp_get_current_user() wp-includes/capabilities.php on line 873 plugins/better-search-replace/better-search-replace.php(59)

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hey @toto,
    Thanks for the report,

    We will look into this and take the necessary action.

    Best,

    I got the same error in my environment.

    It’s probably a mistake in add_action instead of do_action.

    Thread Starter toto

    (@toto)

    При преинсталиране на плъгина връща следната грешка

    Fatal error: Cannot declare class Better_Search_Replace, because the name is already in use in /home/xxx/wp-content/plugins/better-search-replace/includes/class-bsr-main.php on line 20

    Разширението не може да бъде включено, тъй като предизвиква фатална грешка.

    Warning: Constant BSR_FILE already defined in /home/xxx/wp-content/plugins/better-search-replace/better-search-replace.php on line 62

    Warning: Constant BSR_PATH already defined in /home/xxx/wp-content/plugins/better-search-replace/better-search-replace.php on line 65

    The do_action on dx-delete-attached-media.php#339 should indeed be an add_action. This will probably cause errors for some other plugins as well, including our plugin (Admin Columns). So I would say this is a priority support ticket.

    I am also getting a critial error with this plugin due to a conflict with the Toolset Forms plugin. The Toolset team think the problem is due to the code line in DX Delete Attached Media as follows:

    do_action( ‘after_setup_theme’, ‘dxdam_admin_user’);

    which apprarantly changing ther normal load sequence.

    So right now I have disabled the DX Delete Attached Media plugin until the issue is resolved.

    hey hey, thanks for all the reports! The team is working on a new release and we’ll update the plugin as soon as we are ready with the fix.

    There is also a critical error with Admin Columns (Pro)

    Fatal error: Uncaught Error: Class "AC\Dependencies" not found in /[...]/wp-content/plugins/admin-columns-pro/admin-columns-pro.php:60 Stack trace: 
    #0 /[...]/wp-includes/class-wp-hook.php(308): {closure}('dxdam_admin_use...') 
    #1 /[...]/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) 
    #2 /[...]/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 
    #3 /[...]/wp-content/plugins/dx-delete-attached-media/dx-delete-attached-media.php(339): do_action('after_setup_the...', 'dxdam_admin_use...') 
    #4 /[...]/wp-settings.php(453): include_once('/www/htdocs/w01...') 
    #5 /[...]/wp-config.php(99): require_once('/www/htdocs/w01...') 
    #6 /[...]/wp-load.php(50): require_once('/www/htdocs/w01...') 
    #7 /[...]/wp-admin/admin.php(34): require_once('/www/htdocs/w01...') 
    #8 /[...]/wp-admin/plugins.php(10): require_once('/www/htdocs/w01...') 
    #9 {main} thrown in /[...]/wp-content/plugins/admin-columns-pro/admin-columns-pro.php on line 60
    • This reply was modified 1 year, 6 months ago by Adrian.

    Hey,
    Thank you all for the reports.
    We have an RC version that will be released early next week.

    Best,

    Hey,

    The new version 2.0.5.1 is out, and thanks again for all the reports.

    Have a great week!

    Best,

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘caused a critical error’ is closed to new replies.