Title: PHP Error
Last modified: August 30, 2016

---

# PHP Error

 *  Resolved [SWC_Scotty](https://wordpress.org/support/users/swc_scotty/)
 * (@swc_scotty)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/php-error-150/)
 * 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://wordpress.org/plugins/business-directory-plugin/](https://wordpress.org/plugins/business-directory-plugin/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Business Directory Plugin](https://wordpress.org/support/users/businessdirectoryplugin/)
 * (@businessdirectoryplugin)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/php-error-150/#post-6732540)
 * 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.

 * ![](https://ps.w.org/business-directory-plugin/assets/icon-256x256.png?rev=2901888)
 * [Business Directory Plugin - Easy Listing Directories for WordPress](https://wordpress.org/plugins/business-directory-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/business-directory-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/business-directory-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/business-directory-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/business-directory-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/business-directory-plugin/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Business Directory Plugin](https://wordpress.org/support/users/businessdirectoryplugin/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/php-error-150/#post-6732540)
 * Status: resolved