• Resolved marko2002

    (@marko2002)


    Hello again guys, strangely getting email notifications regarding a technical issue apparently caused by the plugin. The email reads:

    Error Details
    =============
    An error of type E_ERROR was caused in line 56 of the file /xxxxxxxxxx/wp-content/plugins/slicewp/includes/admin/dashboard/cards/class-admin-dashboard-card-latest-visits.php. Error message: Uncaught Error: Call to a member function get() on null in /xxxxxxxxxx/wp-content/plugins/slicewp/includes/admin/dashboard/cards/class-admin-dashboard-card-latest-visits.php:56
    Stack trace:
    #0 /xxxxxxxxxx/wp-admin/includes/template.php(1395): SliceWP_Admin_Dashboard_Card_Latest_Visits->output(NULL, Array)
    #1 /xxxxxxxxxx/wp-content/plugins/slicewp/includes/admin/dashboard/views/view-dashboard.php(66): do_meta_boxes(Object(WP_Screen), 'secondary', NULL)
    #2 /xxxxxxxxxx/wp-content/plugins/slicewp/includes/admin/dashboard/class-submenu-page-dashboard.php(15): include('/xxxxxxxxxx/...')
    #3 /xxxxxxxxxx/wp-includes/class-wp-hook.php(303): SliceWP_Submenu_Page_Dashboard->output('')
    #4 /xxxxxxxxxx/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array)
    #5 /xxxxxxxxxx/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #6 /xxxxxxxxxx/wp-admin/admin.php(259): do_action('slice

    As far as I can see there are no actual issues with the slicewp dashboard or anything that is causing issues with the functionality of the mod, just finding it strange that we’re getting emails telling us there are errors.
    Any ideas
    Cheers
    Marko

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author iova.mihai

    (@iovamihai)

    Hey @marko2002,

    Thank you for reporting this issue! I believe I know why this is happening. The problem appears if you have recent visits from an affiliate account that you deleted afterwards. Because the affiliate doesn’t exist anymore, the code fails.

    The bug will be fix in the very next update, which should be available in a few days. If you find any other issues, please let us know.

    Thank you again for reporting the problem! I appreciate it.

    Best wishes,
    Mihai

    Thread Starter marko2002

    (@marko2002)

    Thank @iovamihai great support as always ??
    Marko

    Plugin Author iova.mihai

    (@iovamihai)

    Hey @marko2002,

    Just wanted to let you know that the fix for the issue you’ve reported has been released in this latest update.

    Please update SliceWP. If you’re still seeing errors please let me know.

    Thank you and best wishes!
    Mihai

    Thread Starter marko2002

    (@marko2002)

    @iovamihai , already updated, thanks ??
    Marko

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘An error of type E_ERROR was caused in line 56 of the file’ is closed to new replies.