Title: Plugin Critics? Weird Database Issue&#8230;
Last modified: August 20, 2016

---

# Plugin Critics? Weird Database Issue…

 *  [munrobr](https://wordpress.org/support/users/munrobr/)
 * (@munrobr)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-critics-weird-database-issue/)
 * Hi there, I’m curious to know if there’s anyone that would be willing to look
   at my first WordPress widget and give constructive criticism on how I’ve structured
   it.
 * Basically I’m new to php and WordPress, both. My first real php task was to develop
   a WordPress widget, which I’ve 95% successfully done. The widget I made basically
   lists links in a css styled list, which a network admin can add/remove/modify
   the link name/url.
 * The plugin works most of the time, but (what seems infrequent and randomly) replaces
   the name and url database contents with empty string data. Oddly enough, the 
   id numbers remain, so at least it know there’s 25 entries… they just have no 
   data in the name and url fields.
 * It’s probably an issue with the way I’ve either structured the code, or the logic
   in general, but from what I’ve seen it looks like it checks out fine.
 * I guess if anyone has some spare time and would like to look through the code
   that would be of great help. If not, maybe I’ll bug a co worker and take them
   to lunch one day.

The topic ‘Plugin Critics? Weird Database Issue…’ is closed to new replies.

## Tags

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

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 0 replies
 * 1 participant
 * Last reply from: [munrobr](https://wordpress.org/support/users/munrobr/)
 * Last activity: [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-critics-weird-database-issue/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
