Title: [Plugin: Page Peel] php errors &#8211; fixed
Last modified: August 20, 2016

---

# [Plugin: Page Peel] php errors – fixed

 *  [gyroscopic](https://wordpress.org/support/users/gyroscopic/)
 * (@gyroscopic)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-page-peel-php-errors-fixed/)
 * I had to use the wp debug feature for an issue I had and also found errors on
   the page peel plugin where the get-options function was called incorrectly. I
   fixed the error with the following code…
 *     ```
       // try to always get the values from the database
       	$pagepeel_version = get_option('pagepeel_version');
       	$pagepeel_image_small = get_option('pagepeel_image_small');
       	$pagepeel_image_big = get_option('pagepeel_image_big');
       	$pagepeel_ad_url = get_option('pagepeel_ad_url');
       ```
   
 * Starting at line 89 of pagepeel.php I added the quotes to the options names.
   
   Can the author please add this to the next version.
 * [http://wordpress.org/extend/plugins/page-peel/](http://wordpress.org/extend/plugins/page-peel/)

Viewing 1 replies (of 1 total)

 *  [bella2011](https://wordpress.org/support/users/bella2011/)
 * (@bella2011)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-page-peel-php-errors-fixed/#post-2288889)
 * Will this code fix my issue? Upon page load the small image is revealed, but 
   when you hover over it, the peel back closes instead of expanding.
 * Do I add this to a specific file in the plugin — or replace code? Thank you so
   much for your help!

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Page Peel] php errors – fixed’ is closed to new replies.

 * ![](https://ps.w.org/page-peel/assets/icon-128x128.png?rev=2024924)
 * [Page Peel](https://wordpress.org/plugins/page-peel/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/page-peel/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/page-peel/)
 * [Active Topics](https://wordpress.org/support/plugin/page-peel/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/page-peel/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/page-peel/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [bella2011](https://wordpress.org/support/users/bella2011/)
 * Last activity: [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-page-peel-php-errors-fixed/#post-2288889)
 * Status: not resolved