Title: PHP error
Last modified: December 7, 2022

---

# PHP error

 *  Resolved [cfm168](https://wordpress.org/support/users/cfm168/)
 * (@cfm168)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/php-error-556/)
 * Hello,
 * I get php-errors.log every day after installing this plugin:
    ______________________________________________________________
 *     ```
       [Dec 07, 07:35:27] PHP Warning:  unserialize() expects parameter 1 to be string, array given in /home/SorryHided/SorryHided.com/wp-content/plugins/hide-price-add-to-cart-button/front/class-afwhp-front.php on line 63
       [Dec 07, 07:35:27] PHP Warning:  unserialize() expects parameter 1 to be string, array given in /home/SorryHided/SorryHided.com/wp-content/plugins/hide-price-add-to-cart-button/front/class-afwhp-front.php on line 662
       [Dec 07, 07:35:27] PHP Warning:  unserialize() expects parameter 1 to be string, array given in /home/SorryHided/SorryHided.com/wp-content/plugins/hide-price-add-to-cart-button/front/class-afwhp-front.php on line 901
       [Dec 07, 07:35:28] PHP Warning:  unserialize() expects parameter 1 to be string, array given in /home/SorryHided/SorryHided.com/wp-content/plugins/hide-price-add-to-cart-button/front/class-afwhp-front.php on line 63
       [Dec 07, 07:35:28] PHP Warning:  unserialize() expects parameter 1 to be string, array given in /home/SorryHided/SorryHided.com/wp-content/plugins/hide-price-add-to-cart-button/front/class-afwhp-front.php on line 277
       [Dec 07, 07:35:28] PHP Warning:  unserialize() expects parameter 1 to be string, array given in /home/SorryHided/SorryHided.com/wp-content/plugins/hide-price-add-to-cart-button/front/class-afwhp-front.php on line 63
       [Dec 07, 07:35:28] PHP Warning:  unserialize() expects parameter 1 to be string, array given in /home/SorryHided/SorryHided.com/wp-content/plugins/hide-price-add-to-cart-button/front/class-afwhp-front.php on line 277
       [Dec 07, 07:35:28] PHP Warning:  unserialize() expects parameter 1 to be string, array given in /home/SorryHided/SorryHided.com/wp-content/plugins/hide-price-add-to-cart-button/front/class-afwhp-front.php on line 63
       [Dec 07, 07:35:28] PHP Warning:  unserialize() expects parameter 1 to be string, array given in /home/SorryHided/SorryHided.com/wp-content/plugins/hide-price-add-to-cart-button/front/class-afwhp-front.php on line 277
       [Dec 07, 07:35:28] PHP Warning:  unserialize() expects parameter 1 to be string, array given in /home/SorryHided/SorryHided.com/wp-content/plugins/hide-price-add-to-cart-button/front/class-afwhp-front.php on line 63
       [Dec 07, 07:35:28] PHP Warning:  unserialize() expects parameter 1 to be string, array given in /home/SorryHided/SorryHided.com/wp-content/plugins/hide-price-add-to-cart-button/front/class-afwhp-front.php on line 277
       [Dec 07, 07:56:00] PHP Warning:  unserialize() expects parameter 1 to be string, array given in /home/SorryHided/SorryHided.com/wp-content/plugins/hide-price-add-to-cart-button/front/class-afwhp-front.php on line 63
       [Dec 07, 07:56:00] PHP Warning:  unserialize() expects parameter 1 to be string, array given in /home/SorryHided/SorryHided.com/wp-content/plugins/hide-price-add-to-cart-button/front/class-afwhp-front.php on line 277
       [Dec 07, 07:58:25] PHP Warning:  unserialize() expects parameter 1 to be string, array given in /home/SorryHided/SorryHided.com/wp-content/plugins/hide-price-add-to-cart-button/front/class-afwhp-front.php on line 63
       [Dec 07, 07:58:25] PHP Warning:  unserialize() expects parameter 1 to be string, array given in /home/SorryHided/SorryHided.com/wp-content/plugins/hide-price-add-to-cart-button/front/class-afwhp-front.php on line 277
       [Dec 07, 07:58:25] PHP Warning:  unserialize() expects parameter 1 to be string, array given in /home/SorryHided/SorryHided.com/wp-content/plugins/hide-price-add-to-cart-button/front/class-afwhp-front.php on line 63
       [Dec 07, 07:58:25] PHP Warning:  unserialize() expects parameter 1 to be string, array given in /home/SorryHided/SorryHided.com/wp-content/plugins/hide-price-add-to-cart-button/front/class-afwhp-front.php on line 277
       [Dec 07, 07:58:25] PHP Warning:  unserialize() expects parameter 1 to be string, array given in /home/SorryHided/SorryHided.com/wp-content/plugins/hide-price-add-to-cart-button/front/class-afwhp-front.php on line 63
       [Dec 07, 07:58:25] PHP Warning:  unserialize() expects parameter 1 to be string, array given in /home/SorryHided/SorryHided.com/wp-content/plugins/hide-price-add-to-cart-button/front/class-afwhp-front.php on line 277
       ```
   
 * ———————————————————–
 * Please help. Thanks in advance!

Viewing 1 replies (of 1 total)

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/php-error-556/#post-16269834)
 * afraid the PHP error is from another plugin cfm168, you might want to contact
   the “hide-price-add-to-cart-button” plugin developers instead?

Viewing 1 replies (of 1 total)

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

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/php-error-556/#post-16269834)
 * Status: resolved