Getting an error when trying to broadcast
-
So I am getting this error when trying to Broadcast an ACF Options page. Premium Pack is registered and up to date.
PHP message: PHP Fatal error: Uncaught Exception: Serialization of 'Closure' is not allowed in /www/wp-content/plugins/threewp-broadcast-premium-pack/src/queue/data.php:42 Stack trace: #0 /www/wp-content/plugins/threewp-broadcast-premium-pack/src/queue/data.php(42): serialize(Object(threewp_broadcast\broadcasting_data)) #1 /www/wp-content/plugins/threewp-broadcast-premium-pack/src/queue/Post_Queue.php(231): threewp_broadcast\premium_pack\queue\data->compress(Object(threewp_broadcast\broadcasting_data)) #2 /www/wp-includes/class-wp-hook.php(287): threewp_broadcast\premium_pack\queue\Post_Queue->threewp_broadcast_broadcast_post(Object(threewp_broadcast\broadcasting_data)) #3 /www/wp-includes/plugin.php(206): WP_Hook->apply_filters(Object(threewp_broadcast\broadcasting_data), Array) #4 [internal function]: apply_filters('threewp_broadca...', Object(threewp_broadcast\broadcasting_data)) #5 /www/wp-content/plugins/threewp-broadcast/src/sdk/wordpress/actions_and_filters_trait.php(131): call_user_func_array('ap
When I check the code in data.php, line 42 is this:
$new_data = serialize( $data );
And that is part of this function:
/** @brief Convenience method to serialize, compress and store the data. @since 2017-10-11 11:59:05 **/ public function compress( $data ) { $new_data = serialize( $data ); $new_data = gzcompress( $new_data , 9 ); $new_data = base64_encode( $new_data ); return $this->set_data( $new_data ); }
Can you advise on what I need to do to make this error go away?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Getting an error when trying to broadcast’ is closed to new replies.