• Resolved SWC_Scotty

    (@swc_scotty)


    Checked my error log today and it appears an error has occured. Can you tell me what the issue is? It wasn’t me as I was out at this time so a user has had an issue somehere.

    [09-Nov-2015 17:56:10 UTC] PHP Fatal error: Uncaught exception ‘Exception’ with message ‘You can not edit this listing.’ in /home/dronelist/public_html/wp-content/plugins/business-directory-plugin/core/view-submit-listing.php:509
    Stack trace:
    #0 /home/dronelist/public_html/wp-content/plugins/business-directory-plugin/core/view-submit-listing.php(15): WPBDP_Listing_Submit_State->__construct(‘250’)
    #1 /home/dronelist/public_html/wp-content/plugins/business-directory-plugin/core/views.php(83): WPBDP_Submit_Listing_Page->__construct(‘250’)
    #2 [internal function]: WPBDP_DirectoryController->dispatch(”, ”, ‘businessdirecto…’)
    #3 /home/dronelist/public_html/wp-includes/shortcodes.php(308): call_user_func(Array, ”, ”, ‘businessdirecto…’)
    #4 [internal function]: do_shortcode_tag(Array)
    #5 /home/dronelist/public_html/wp-includes/shortcodes.php(210): preg_replace_callback(‘/\[(\[?)(embed|…’, ‘do_shortcode_ta…’, ‘[businessdirect…’)
    #6 [internal function]: do_shortcode(‘[businessdirect…’)
    #7 /home/dronelist/public_html/wp-includes/plugin.php(213): c in /home/dronelist/public_html/wp-content/plugins/business-directory-plugin/core/view-submit-listing.php on line 509
    [09-Nov-2015 17:56:22 UTC] PHP Fatal error: Uncaught exception ‘Exception’ with message ‘You can not edit this listing.’ in /home/dronelist/public_html/wp-content/plugins/business-directory-plugin/core/view-submit-listing.php:509
    Stack trace:
    #0 /home/dronelist/public_html/wp-content/plugins/business-directory-plugin/core/view-submit-listing.php(15): WPBDP_Listing_Submit_State->__construct(‘250’)
    #1 /home/dronelist/public_html/wp-content/plugins/business-directory-plugin/core/views.php(83): WPBDP_Submit_Listing_Page->__construct(‘250’)
    #2 [internal function]: WPBDP_DirectoryController->dispatch(”, ”, ‘businessdirecto…’)
    #3 /home/dronelist/public_html/wp-includes/shortcodes.php(308): call_user_func(Array, ”, ”, ‘businessdirecto…’)
    #4 [internal function]: do_shortcode_tag(Array)
    #5 /home/dronelist/public_html/wp-includes/shortcodes.php(210): preg_replace_callback(‘/\[(\[?)(embed|…’, ‘do_shortcode_ta…’, ‘[businessdirect…’)
    #6 [internal function]: do_shortcode(‘[businessdirect…’)
    #7 /home/dronelist/public_html/wp-includes/plugin.php(213): c in /home/dronelist/public_html/wp-content/plugins/business-directory-plugin/core/view-submit-listing.php on line 509
    [09-Nov-2015 18:40:23 UTC] PHP Fatal error: Uncaught exception ‘Exception’ with message ‘You can not edit this listing.’ in /home/dronelist/public_html/wp-content/plugins/business-directory-plugin/core/view-submit-listing.php:509
    Stack trace:
    #0 /home/dronelist/public_html/wp-content/plugins/business-directory-plugin/core/view-submit-listing.php(15): WPBDP_Listing_Submit_State->__construct(‘297’)
    #1 /home/dronelist/public_html/wp-content/plugins/business-directory-plugin/core/views.php(83): WPBDP_Submit_Listing_Page->__construct(‘297’)
    #2 [internal function]: WPBDP_DirectoryController->dispatch(”, ”, ‘businessdirecto…’)
    #3 /home/dronelist/public_html/wp-includes/shortcodes.php(308): call_user_func(Array, ”, ”, ‘businessdirecto…’)
    #4 [internal function]: do_shortcode_tag(Array)
    #5 /home/dronelist/public_html/wp-includes/shortcodes.php(210): preg_replace_callback(‘/\[(\[?)(embed|…’, ‘do_shortcode_ta…’, ‘[businessdirect…’)
    #6 [internal function]: do_shortcode(‘[businessdirect…’)
    #7 /home/dronelist/public_html/wp-includes/plugin.php(213): c in /home/dronelist/public_html/wp-content/plugins/business-directory-plugin/core/view-submit-listing.php on line 509

    https://ww.wp.xz.cn/plugins/business-directory-plugin/

Viewing 1 replies (of 1 total)
  • Plugin Author Business Directory Plugin

    (@businessdirectoryplugin)

    Hi SWC_Scotty,

    I’m not sure what might be going on there–we haven’t seen that issue before, but looking at it, someone may have tried to edit a listing they don’t own by using the URL to edit another listing. It’s just a guess.

    I can have my developer see if there’s something to be concerned about, but that error message seems like it was either a mistaken edit, or someone trying to do something they shouldn’t (but weren’t allowed to) In either case, the plugin should be fine.

    If it’s just something you found, that’s one thing. If you have a set of steps that you can walk through to reproduce it–it’s another issue entirely. Let me know if that’s the case.

    Let me ask though.

Viewing 1 replies (of 1 total)

The topic ‘PHP Error’ is closed to new replies.