Title: Deprecated errors
Last modified: June 9, 2024

---

# Deprecated errors

 *  Resolved [Tina Marker](https://wordpress.org/support/users/tina-marker/)
 * (@tina-marker)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/deprecated-errors-16/)
 * Site above is in next to final build mode. Have the Call Now button on several
   sites with no issues. Installed on a site with a common theme template used before(
   Overlap) and am getting deprecated errors. How to fix?
 * **Deprecated**: Return type of cnb\admin\domain\CnbDomain::jsonSerialize() should
   either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\
   ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
   in **/home9/theluvbu/public_html/wp-content/plugins/call-now-button/src/admin/
   domain/CnbDomain.php** on line **182**
 * **Deprecated**: Return type of cnb\admin\domain\CnbDomainProperties::jsonSerialize()
   should either be compatible with JsonSerializable::jsonSerialize(): mixed, or
   the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress
   the notice in **/home9/theluvbu/public_html/wp-content/plugins/call-now-button/
   src/admin/domain/CnbDomain.php** on line **243**
 * **Deprecated**: Return type of cnb\admin\domain\CnbDomain::jsonSerialize() should
   either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\
   ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
   in **/home9/theluvbu/public_html/wp-content/plugins/call-now-button/src/admin/
   domain/CnbDomain.php** on line **182**
 * **Deprecated**: Return type of cnb\admin\domain\CnbDomainProperties::jsonSerialize()
   should either be compatible with JsonSerializable::jsonSerialize(): mixed, or
   the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress
   the notice in **/home9/theluvbu/public_html/wp-content/plugins/call-now-button/
   src/admin/domain/CnbDomain.php** on line **243**
 * [Skip to main content](https://theluvbugpetnanny.com/wp-admin/admin.php?page=call-now-button&action=edit&type=single&id=button_9f34895d_c6ff_43cf_9eda_b905223d9fb8&tid=cnb-25dd08ac-71e2-4d5f-886c-e6504e3f329f&tab=scheduler#wpbody-content)
   [Skip to toolbar](https://theluvbugpetnanny.com/wp-admin/admin.php?page=call-now-button&action=edit&type=single&id=button_9f34895d_c6ff_43cf_9eda_b905223d9fb8&tid=cnb-25dd08ac-71e2-4d5f-886c-e6504e3f329f&tab=scheduler#wp-toolbar)
    - [Dashboard](https://theluvbugpetnanny.com/wp-admin/index.php)
       * [Home](https://theluvbugpetnanny.com/wp-admin/index.php)
       * [Updates 1](https://theluvbugpetnanny.com/wp-admin/update-core.php)
    - [Posts](https://theluvbugpetnanny.com/wp-admin/edit.php)
       * [All Posts](https://theluvbugpetnanny.com/wp-admin/edit.php)
       * [Add New Post](https://theluvbugpetnanny.com/wp-admin/post-new.php)
       * [Categories](https://theluvbugpetnanny.com/wp-admin/edit-tags.php?taxonomy=category)
       * [Tags](https://theluvbugpetnanny.com/wp-admin/edit-tags.php?taxonomy=post_tag)
    - [Media](https://theluvbugpetnanny.com/wp-admin/upload.php)
       * [Library](https://theluvbugpetnanny.com/wp-admin/upload.php)
       * [Add New Media File](https://theluvbugpetnanny.com/wp-admin/media-new.php)
    - [Pages](https://theluvbugpetnanny.com/wp-admin/edit.php?post_type=page)
       * [All Pages](https://theluvbugpetnanny.com/wp-admin/edit.php?post_type=page)
       * [Add New Page](https://theluvbugpetnanny.com/wp-admin/post-new.php?post_type=page)
    - [Comments](https://theluvbugpetnanny.com/wp-admin/edit-comments.php)
    - [Buttons](https://theluvbugpetnanny.com/wp-admin/admin.php?page=call-now-button)
       * [All buttons](https://theluvbugpetnanny.com/wp-admin/admin.php?page=call-now-button)
       * [Add New](https://theluvbugpetnanny.com/wp-admin/admin.php?page=call-now-button&action=new)
       * [Templates](https://theluvbugpetnanny.com/wp-admin/admin.php?page=call-now-button-templates)
       * [Settings](https://theluvbugpetnanny.com/wp-admin/admin.php?page=call-now-button-settings)
    - [Appearance](https://theluvbugpetnanny.com/wp-admin/themes.php)
       * [Themes](https://theluvbugpetnanny.com/wp-admin/themes.php)
       * [Patterns](https://theluvbugpetnanny.com/wp-admin/edit.php?post_type=wp_block)
       * [Customize](https://theluvbugpetnanny.com/wp-admin/customize.php?return=%2Fwp-admin%2Fadmin.php%3Fpage%3Dcall-now-button%26action%3Dedit%26type%3Dsingle%26id%3Dbutton_9f34895d_c6ff_43cf_9eda_b905223d9fb8%26tid%3Dcnb-25dd08ac-71e2-4d5f-886c-e6504e3f329f%26tab%3Dscheduler)
       * [Widgets](https://theluvbugpetnanny.com/wp-admin/widgets.php)
       * [Menus](https://theluvbugpetnanny.com/wp-admin/nav-menus.php)
       * [Install Plugins](https://theluvbugpetnanny.com/wp-admin/themes.php?page=install-bundled-plugins)
       * [Theme File Editor](https://theluvbugpetnanny.com/wp-admin/theme-editor.php)
    - [Plugins 1](https://theluvbugpetnanny.com/wp-admin/plugins.php)
       * [Installed Plugins](https://theluvbugpetnanny.com/wp-admin/plugins.php)
       * [Add New Plugin](https://theluvbugpetnanny.com/wp-admin/plugin-install.php)
       * [Plugin File Editor](https://theluvbugpetnanny.com/wp-admin/plugin-editor.php)
    - [Users](https://theluvbugpetnanny.com/wp-admin/users.php)
       * [All Users](https://theluvbugpetnanny.com/wp-admin/users.php)
       * [Add New User](https://theluvbugpetnanny.com/wp-admin/user-new.php)
       * [Profile](https://theluvbugpetnanny.com/wp-admin/profile.php)
    - [Tools](https://theluvbugpetnanny.com/wp-admin/tools.php)
       * [Available Tools](https://theluvbugpetnanny.com/wp-admin/tools.php)
       * [Import](https://theluvbugpetnanny.com/wp-admin/import.php)
       * [Export](https://theluvbugpetnanny.com/wp-admin/export.php)
       * [Site Health 2](https://theluvbugpetnanny.com/wp-admin/site-health.php)
       * [Export Personal Data](https://theluvbugpetnanny.com/wp-admin/export-personal-data.php)
       * [Erase Personal Data](https://theluvbugpetnanny.com/wp-admin/erase-personal-data.php)
    - [Settings](https://theluvbugpetnanny.com/wp-admin/options-general.php)
       * [General](https://theluvbugpetnanny.com/wp-admin/options-general.php)
       * [Writing](https://theluvbugpetnanny.com/wp-admin/options-writing.php)
       * [Reading](https://theluvbugpetnanny.com/wp-admin/options-reading.php)
       * [Discussion](https://theluvbugpetnanny.com/wp-admin/options-discussion.php)
       * [Media](https://theluvbugpetnanny.com/wp-admin/options-media.php)
       * [Permalinks](https://theluvbugpetnanny.com/wp-admin/options-permalink.php)
       * [Privacy](https://theluvbugpetnanny.com/wp-admin/options-privacy.php)
    - Collapse menu
 *  - [About WordPress](https://theluvbugpetnanny.com/wp-admin/about.php)
    - [The Luv Bug Pet Nanny](https://theluvbugpetnanny.com/)
    - [11 update available](https://theluvbugpetnanny.com/wp-admin/update-core.php)
    - [00 Comments in moderation](https://theluvbugpetnanny.com/wp-admin/edit-comments.php)
    - [New](https://theluvbugpetnanny.com/wp-admin/post-new.php)
    - [Troubleshooting Mode](https://theluvbugpetnanny.com/wp-admin/)
    - [Howdy, Jennifer Taylor](https://theluvbugpetnanny.com/wp-admin/profile.php)
 * **Deprecated**: Return type of cnb\admin\models\CnbUser::jsonSerialize() should
   either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\
   ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
   in **/home9/theluvbu/public_html/wp-content/plugins/call-now-button/src/admin/
   models/CnbUser.php** on line **126**
 * **Deprecated**: Return type of cnb\admin\models\CnbUserTaxId::jsonSerialize()
   should either be compatible with JsonSerializable::jsonSerialize(): mixed, or
   the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress
   the notice in **/home9/theluvbu/public_html/wp-content/plugins/call-now-button/
   src/admin/models/CnbUser.php** on line **172**
 * **Deprecated**: Return type of cnb\admin\models\CnbUserTaxIdVerification::jsonSerialize()
   should either be compatible with JsonSerializable::jsonSerialize(): mixed, or
   the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress
   the notice in **/home9/theluvbu/public_html/wp-content/plugins/call-now-button/
   src/admin/models/CnbUser.php** on line **205**
 * **Deprecated**: Return type of cnb\admin\models\CnbUserAddress::jsonSerialize()
   should either be compatible with JsonSerializable::jsonSerialize(): mixed, or
   the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress
   the notice in **/home9/theluvbu/public_html/wp-content/plugins/call-now-button/
   src/admin/models/CnbUser.php** on line **249**
 * **Deprecated**: Return type of cnb\admin\models\CnbUserStripeDetails::jsonSerialize()
   should either be compatible with JsonSerializable::jsonSerialize(): mixed, or
   the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress
   the notice in **/home9/theluvbu/public_html/wp-content/plugins/call-now-button/
   src/admin/models/CnbUser.php** on line **283**
 * **Deprecated**: Return type of cnb\admin\models\CnbUserMarketingData::jsonSerialize()
   should either be compatible with JsonSerializable::jsonSerialize(): mixed, or
   the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress
   the notice in **/home9/theluvbu/public_html/wp-content/plugins/call-now-button/
   src/admin/models/CnbUser.php** on line **330**
 * **Deprecated**: Return type of cnb\admin\button\CnbButton::jsonSerialize() should
   either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\
   ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
   in **/home9/theluvbu/public_html/wp-content/plugins/call-now-button/src/admin/
   button/CnbButton.php** on line **238**
 * **Deprecated**: Return type of cnb\admin\button\CnbButtonOptions::jsonSerialize()
   should either be compatible with JsonSerializable::jsonSerialize(): mixed, or
   the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress
   the notice in **/home9/theluvbu/public_html/wp-content/plugins/call-now-button/
   src/admin/button/CnbButton.php** on line **316**
 * **Deprecated**: Return type of cnb\admin\button\CnbMultiButtonOptions::jsonSerialize()
   should either be compatible with JsonSerializable::jsonSerialize(): mixed, or
   the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress
   the notice in **/home9/theluvbu/public_html/wp-content/plugins/call-now-button/
   src/admin/button/CnbButton.php** on line **412**
 * **Deprecated**: Return type of cnb\admin\button\CnbScrollOptions::jsonSerialize()
   should either be compatible with JsonSerializable::jsonSerialize(): mixed, or
   the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress
   the notice in **/home9/theluvbu/public_html/wp-content/plugins/call-now-button/
   src/admin/button/CnbButton.php** on line **454**
 * **Deprecated**: Return type of cnb\admin\action\CnbAction::jsonSerialize() should
   either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\
   ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
   in **/home9/theluvbu/public_html/wp-content/plugins/call-now-button/src/admin/
   action/CnbAction.php** on line **223**
 * **Deprecated**: Return type of cnb\admin\action\CnbActionProperties::jsonSerialize()
   should either be compatible with JsonSerializable::jsonSerialize(): mixed, or
   the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress
   the notice in **/home9/theluvbu/public_html/wp-content/plugins/call-now-button/
   src/admin/action/CnbAction.php** on line **241**
 * **Deprecated**: Return type of cnb\admin\action\CnbActionSchedule::jsonSerialize()
   should either be compatible with JsonSerializable::jsonSerialize(): mixed, or
   the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress
   the notice in **/home9/theluvbu/public_html/wp-content/plugins/call-now-button/
   src/admin/action/CnbAction.php** on line **291**
 * **Deprecated**: strtolower(): Passing null to parameter #1 ($string) of type 
   string is deprecated in **/home9/theluvbu/public_html/wp-content/plugins/call-
   now-button/src/utils/cnb-backwards-compatible.php** on line **112**
 * **Deprecated**: strtolower(): Passing null to parameter #1 ($string) of type 
   string is deprecated in **/home9/theluvbu/public_html/wp-content/plugins/call-
   now-button/src/utils/cnb-backwards-compatible.php** on line **115**
    -  This topic was modified 1 year, 11 months ago by [Tina Marker](https://wordpress.org/support/users/tina-marker/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdeprecated-errors-16%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Andrei Surdu](https://wordpress.org/support/users/_smartik_/)
 * (@_smartik_)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/deprecated-errors-16/#post-17915026)
 * Thanks for reporting the PHP warnings but they are coming from another plugin(**
   call-now-button**) and not relevant to this plugin.

Viewing 1 replies (of 1 total)

The topic ‘Deprecated errors’ is closed to new replies.

 * ![](https://ps.w.org/wp-call-button/assets/icon-256x256.png?rev=2133457)
 * [WP Call Button - Easy Click to Call Button for WordPress](https://wordpress.org/plugins/wp-call-button/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-call-button/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-call-button/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-call-button/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-call-button/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-call-button/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Andrei Surdu](https://wordpress.org/support/users/_smartik_/)
 * Last activity: [1 year, 10 months ago](https://wordpress.org/support/topic/deprecated-errors-16/#post-17915026)
 * Status: resolved