• Resolved peopleinside

    (@peopleinside)


    Dear Adminify Support,

    I am experiencing an issue with the Adminify plugin on my WordPress website. An error occurred in the Discount.php file on line 47, and the error message is as follows:

    Error Message: Uncaught Error: Undefined constant “WPAdminify\Inc\Classes\Notifications\JLTMA_IMAGE_DIR” in /wp-content/plugins/adminify/Inc/Classes/Notifications/Discount.php:47

    Stack trace: #0 /wp-content/plugins/adminify/Inc/Classes/Notifications/Notifications.php(157): WPAdminify\Inc\Classes\Notifications\Discount->notice_content()
    #1 /wp-includes/class-wp-hook.php(324): WPAdminify\Inc\Classes\Notifications\Notifications->display_notice()
    #2 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #3 /wp-includes/plugin.php(517): WP_Hook->do_action()
    #4 /wp-content/plugins/adminify/Inc/Classes/Notifications/Notifications.php(117): do_action()
    #5 /wp-content/plugins/adminify/Inc/Classes/Notifications/Notifications.php(139): WPAdminify\Inc\Classes\Notifications\Notifications->setup_notifications_by_type()
    #6 /wp-includes/class-wp-hook.php(324): WPAdminify\Inc\Classes\Notifications\Notifications->setup_notifications()
    #7 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #8 /wp-includes/plugin.php(517): WP_Hook->do_action()
    #9 /wp-admin/admin-header.php(303): do_action()
    #10 /wp-admin/admin.php(239): require_once(‘…’)
    #11 {main} thrown

    It seems that the constant JLTMA_IMAGE_DIR is not defined correctly in the plugin. Could you please check this and provide guidance on how to resolve this issue?

    Thank you for your help.

    Actually WordPress was in recovery mode and the plugin is disable and cannot activate anymore due to this fatal error.

    Best regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter peopleinside

    (@peopleinside)

    I think i will stop to use this plugin if broke websites. All website corrupted, inaccessible.
    For now I’m unistalling the plugin from all website and I don’t think I will return soon.

    All website has strong issues down, inaccessible.

    Hello @peopleinside ,
    I sincerely apologize for the inconvenience. The issue was caused by an accidental update. We are in the process of releasing a new update shortly that will resolve the issue.

    Thank you for bringing this to our attention, and we appreciate your patience.

    Hello Again @peopleinside ,

    The new WP Adminify V 4.0.3.4 version has resolved the Undefined Constant issue. I have thoroughly tested the fix to ensure it works properly.

    Thank you for your patience, and please let us know if you encounter any further issues.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Undefined Constant’ is closed to new replies.