Title: PHP Error
Last modified: January 20, 2022

---

# PHP Error

 *  Resolved [joyryde](https://wordpress.org/support/users/joyryde/)
 * (@joyryde)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/php-error-505/)
 * Notice (Suppressed) unserialize(): Error at offset 151 of 1331 bytes 1
    wp-includes/
   functions.php:624 unserialize() wp-includes/functions.php:624 maybe_unserialize()
   wp-includes/meta.php:596 get_metadata_raw() wp-includes/meta.php:509 get_metadata()
   wp-includes/post.php:2303 get_post_meta() wp-content/plugins/shopmagic-for-woocommerce/
   src/Automation/AutomationPersistence.php:181 WPDesk\S\A\AutomationPersistence-
   >get_actions_data() wp-content/plugins/shopmagic-for-woocommerce/src/Automation/
   AutomationFactory.php:132 WPDesk\S\A\AutomationFactory->get_actions_for_automation()
   wp-content/plugins/shopmagic-for-woocommerce/src/Automation/AutomationFactory.
   php:99 WPDesk\S\A\AutomationFactory->create_automation() wp-content/plugins/shopmagic-
   for-woocommerce/src/Automation/AutomationFactory.php:64 WPDesk\S\A\AutomationFactory-
   >initialize_active_automations() wp-content/plugins/shopmagic-for-woocommerce/
   src/Plugin.php:304 WPDesk\S\Plugin->WPDesk\S\{closure}() wp-includes/class-wp-
   hook.php:303 do_action(‘woocommerce_init’) wp-content/plugins/woocommerce/includes/
   class-woocommerce.php:633 WooCommerce->init() wp-includes/class-wp-hook.php:303
   do_action(‘init’) wp-settings.php:578

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Contributor [Bartek](https://wordpress.org/support/users/bartj/)
 * (@bartj)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/php-error-505/#post-15288954)
 * Hello [@joyryde](https://wordpress.org/support/users/joyryde/)!
 * Could you provide more info about the issue you stumbled upon?
    At first it would
   be good to send system report from WooCommerce status page. When does the error
   shows? Is it permanently interrupting the flow of the website or just displaying
   the warning (without fatal error)? To me, it looks as some issue in database,
   when reading automation actions data – can you verify, your actions data in database
   have correct values?
 * Best regards and thank for helping solve the issue!
 *  Plugin Contributor [Bartek](https://wordpress.org/support/users/bartj/)
 * (@bartj)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/php-error-505/#post-15328831)
 * Closing the thread due to no response and insufficient data to reproduce the 
   bug.
 * [@joyryde](https://wordpress.org/support/users/joyryde/) feel free to contact
   us anyway, if you will experience some inconveniences in plugin.

Viewing 2 replies - 1 through 2 (of 2 total)

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

 * ![](https://ps.w.org/shopmagic-for-woocommerce/assets/icon-256x256.png?rev=2847401)
 * [ShopMagic - email automation](https://wordpress.org/plugins/shopmagic-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shopmagic-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shopmagic-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/shopmagic-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shopmagic-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shopmagic-for-woocommerce/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Bartek](https://wordpress.org/support/users/bartj/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/php-error-505/#post-15328831)
 * Status: resolved