Title: [Plugin: Link Directory Plugin] error on lines 799, 791, 866 and 787! Plz HELP!!
Last modified: August 20, 2016

---

# [Plugin: Link Directory Plugin] error on lines 799, 791, 866 and 787! Plz HELP!!

 *  [ziadjbt78](https://wordpress.org/support/users/ziadjbt78/)
 * (@ziadjbt78)
 * [14 years ago](https://wordpress.org/support/topic/plugin-link-directory-plugin-error-on-lines-791/)
 * Ok i am in a serious trouble now!
 * My blog used to work perfectly and I was able to add multiple links to my directory
   without any problem until today when this happened!
 * My site works perfectly on its root directory but when i try to access my admin
   area at example.com/wp-admin I can’t access it at all as I am getting the below
   error messages on lines 799, 791, 866 and 787 and I have no idea how I can solve
   this out?!
 * Warning: Cannot use a scalar value as an array in /home/myaccount/public_html/
   new/wp-content/plugins/link-directory-plugin/processing.php on line 791
    Warning:
   arsort() expects parameter 1 to be array, null given in /home/myaccount/public_html/
   new/wp-content/plugins/link-directory-plugin/processing.php on line 791 Warning:
   Invalid argument supplied for foreach() in /home/myaccount/public_html/new/wp-
   content/plugins/link-directory-plugin/processing.php on line 799 Warning: mysql_real_escape_string()
   expects parameter 1 to be string, array given in /home/myaccount/public_html/
   new/wp-includes/wp-db.php on line 787 Warning: Cannot modify header information–
   headers already sent by (output started at /home/ziadjbt/public_html/start-ups.
   co/wp-content/plugins/link-directory-plugin/processing.php:791) in /home/myaccount/
   public_html/new/wp-includes/pluggable.php on line 866
 * Also this happens when I try to access the directory from my front end, when 
   i click on any directory link the same error messages are displayed above the
   fold of my page!
 * Please someone try to send me out a solution to this very annoying problem, maybe
   a code fix which I can modify from my cpanel plugin file?! I need to access my
   admin ASAP for working on my blog!
 * Thanks!
 * [http://wordpress.org/extend/plugins/link-directory-plugin/](http://wordpress.org/extend/plugins/link-directory-plugin/)

The topic ‘[Plugin: Link Directory Plugin] error on lines 799, 791, 866 and 787!
Plz HELP!!’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/link-directory-plugin.svg)
 * [Link Directory Plugin](https://wordpress.org/plugins/link-directory-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/link-directory-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/link-directory-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/link-directory-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/link-directory-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/link-directory-plugin/reviews/)

## Tags

 * [link](https://wordpress.org/support/topic-tag/link/)

 * 0 replies
 * 1 participant
 * Last reply from: [ziadjbt78](https://wordpress.org/support/users/ziadjbt78/)
 * Last activity: [14 years ago](https://wordpress.org/support/topic/plugin-link-directory-plugin-error-on-lines-791/)
 * Status: not resolved