• Resolved UMBC

    (@umbc)


    Hello,

    Running WP 6.5.2 PHP 8.2 Rank Math Pro 3.0.61

    Seeing this error pop up in debug.log:

    [07-May-2024 14:23:14 UTC] PHP Deprecated: number_format(): Passing null to parameter #1 ($num) of type float is deprecated in /code/wp-content/plugins/seo-by-rank-math/includes/modules/analytics/class-summary.php on line 113

    [07-May-2024 14:23:14 UTC] PHP Deprecated: number_format(): Passing null to parameter #1 ($num) of type float is deprecated in /code/wp-content/plugins/seo-by-rank-math/includes/modules/analytics/class-summary.php on line 114

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support Rank Math Support

    (@rankmathsupport)

    Hello @umbc,
    ?
    Thank you for contacting Rank Math support.
    ?
    Could you please confirm if you have already connected your website to your Google Search Console and Analytics??
    ?
    Those should be cleared once you have connected your site and after the data is imported, you won’t see any more of those warnings appear.
    ?
    Looking forward to helping you.

    Thread Starter UMBC

    (@umbc)

    Hi there, I connected Analytics and Search Console and i even switched to default theme 2024, now seeing:

    [08-May-2024 15:39:02 UTC] objectcache.error: Cache key must be integer or non-empty string, empty string given (require(‘wp-blog-header.php’), wp, WP->main, WP->parse_request, do_action_ref_array(‘parse_request’), WP_Hook->do_action, WP_Hook->apply_filters, rest_api_loaded, WP_REST_Server->serve_request, WP_REST_Server->dispatch, WP_REST_Server->respond_to_request, RankMath\Analytics\Rest->get_analytics_summary, RankMath\Analytics\Summary->get_optimization_summary, RankMath\Analytics\Summary->set_cache)
    [08-May-2024 15:39:47 UTC] PHP Deprecated: Automatic conversion of false to array is deprecated in /code/wp-content/plugins/seo-by-rank-math-pro/includes/modules/analytics/class-posts.php on line 624

    Thread Starter UMBC

    (@umbc)

    Hello again,

    I’m getting this deprecated notice today:

    [09-May-2024 16:51:31 UTC] PHP Deprecated: number_format(): Passing null to parameter #1 ($num) of type float is deprecated in /code/wp-content/plugins/seo-by-rank-math/includes/modules/analytics/class-summary.php on line 113
    [09-May-2024 16:51:31 UTC] PHP Deprecated: number_format(): Passing null to parameter #1 ($num) of type float is deprecated in /code/wp-content/plugins/seo-by-rank-math/includes/modules/analytics/class-summary.php on line 114

    We have upgraded to 6.5.3 WP

    Plugin Support Rank Math Support

    (@rankmathsupport)

    Hello @umbc,
    ?
    Please navigate to?WP Dashboard > Rank Math SEO > Status & Tools > System Status > Copy System Info to Clipboard?and share it with us so we can check and assist you further.
    ?
    Looking forward to helping you.

    Thread Starter UMBC

    (@umbc)

    ` rank-math
    
    version: 1.0.218
    pro_version: 3.0.61
    database_version: 1
    plugin_plan: Pro
    1: Free
    2: 750
    3: undefined
    active_modules: link-counter, seo-analysis, sitemap, rich-snippet, acf, content-ai, instant-indexing, role-manager, local-seo, analytics, image-seo, news-sitemap, video-sitemap
    refresh_token: Token exists
    permissions:
    AdSense: Given
    Analytics: Given
    Search Console: Given
    rank_math_404_logs: 32 KB
    rank_math_redirections: 32 KB
    rank_math_redirections_cache: 32 KB
    rank_math_internal_links: 7 MB
    rank_math_internal_meta: 464 KB
    rank_math_analytics_gsc: 80 KB
    rank_math_analytics_objects: 4 MB
    rank_math_analytics_ga: 32 KB
    rank_math_analytics_adsense: Not found
    rank_math_analytics_keyword_manager: 16 KB
    rank_math_analytics_inspections: 12 MB wp-core
    
    version: 6.5.3
    site_language: en_US
    user_language: en_US
    timezone: America/New_York
    permalink: /stories/%postname%/
    https_status: true
    multisite: false
    user_registration: 0
    blog_public: 1
    default_comment_status: undefined
    environment_type: development
    user_count: 46
    dotorg_communication: true wp-dropins (2)
    
    db.php: true
    object-cache.php: true wp-active-theme
    
    name: UMBC Astra (umbc-theme)
    version: 1.0.3
    author: Bryan Barnes
    author_website: https://wpastra.com
    parent_theme: Astra (astra)
    theme_features: core-block-patterns, astra_hooks, widgets-block-editor, align-wide, automatic-feed-links, title-tag, post-thumbnails, starter-content, html5, post-formats, custom-logo, customize-selective-refresh-widgets, editor-style, woocommerce, rank-math-breadcrumbs, amp, widgets, menus
    theme_path: /code/wp-content/themes/umbc-theme
    auto_update: Disabled wp-parent-theme
    
    name: Astra (astra)
    version: 4.6.14
    author: Brainstorm Force
    author_website: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
    theme_path: /code/wp-content/themes/astra
    auto_update: Disabled wp-mu-plugins (1)
    
    Pantheon MU Plugin Loader: version: 1.0, author: Pantheon Systems wp-plugins-active (30)
    
    Admin Menu Editor: version: 1.12.1, author: Janis Elsts, Auto-updates disabled
    Advanced Custom Fields PRO: version: 6.2.9, author: WP Engine, Auto-updates disabled
    Astra Bulk Edit: version: 1.2.10, author: Brainstorm Force, Auto-updates disabled
    Astra Hooks: version: 1.0.2, author: Brainstorm Force, Auto-updates disabled
    Astra Pro: version: 4.6.9, author: Brainstorm Force, Auto-updates disabled
    Block for Font Awesome: version: 1.4.5, author: Ciprian Popescu, Auto-updates disabled
    Disable Gutenberg Blocks - Block Manager: version: 1.0.9, author: Danny Cooper, Auto-updates disabled
    Feedzy RSS Feeds Lite: version: 4.4.8, author: Themeisle, Auto-updates disabled
    FileBird Pro: version: 6.2.1, author: Ninja Team, Auto-updates disabled
    GTM Kit: version: 1.22, author: GTM Kit, Auto-updates disabled
    Import / Export Customizer Settings: version: 1.1.0, author: Brainstorm Force, Auto-updates disabled
    Object Cache Pro: version: 1.21.0, author: Rhubarb Group, Auto-updates disabled
    OneLogin SAML SSO: version: 3.4.0, author: OneLogin, Inc., Auto-updates disabled
    Pantheon Advanced Page Cache: version: 1.5.0, author: Pantheon, Auto-updates disabled
    Query Monitor: version: 3.16.2, author: John Blackbourn, Auto-updates disabled
    Rank Math SEO PRO: version: 3.0.61, author: Rank Math, Auto-updates enabled
    Rank Math SEO with AI Best SEO Tools: version: 1.0.218, author: Rank Math, Auto-updates enabled
    Redirection: version: 5.4.2, author: John Godley, Auto-updates disabled
    Reusable Blocks Extended: version: 0.9.1, author: audrasjb, Auto-updates disabled
    The Events Calendar: version: 6.4.0.1, author: The Events Calendar, Auto-updates disabled
    The Events Calendar: Advance Mini Calendar Widget: version: 1.0.0, author: Modern Tribe, Inc, Auto-updates disabled
    The Events Calendar Extension: Block Patterns: version: 1.0.0, author: Modern Tribe, Inc., Auto-updates disabled
    The Events Calendar Pro: version: 6.4.0.1, author: The Events Calendar, Auto-updates disabled
    UMBC True Grit: version: 0.1.0, author: Kevin McGuire, Auto-updates disabled
    Visualizer: Tables and Charts for WordPress: version: 3.10.13, author: Themeisle, Auto-updates disabled
    WordPress Importer: version: 0.8.2, author: wordpressdotorg, Auto-updates disabled
    WP-FormAssembly: version: 2.0.11, author: FormAssembly / Drew Buschhorn, Auto-updates disabled
    WP Accessibility: version: 2.1.8, author: Joe Dolson, Auto-updates disabled
    WP All Export Pro: version: 1.8.8, author: Soflyy, Auto-updates disabled
    WP All Import Pro: version: 4.8.7, author: Soflyy, Auto-updates disabled wp-server
    
    server_architecture: Linux 5.10.177+ x86_64
    httpd_software: nginx/1.25.2
    php_version: 8.3.6 64bit
    php_sapi: fpm-fcgi
    max_input_variables: 10000
    time_limit: 120
    memory_limit: 1024M
    max_input_time: 900
    upload_max_filesize: 100M
    php_post_max_size: 100M
    curl_version: 7.61.1 OpenSSL/1.1.1k
    suhosin: false
    imagick_availability: true
    pretty_permalinks: true
    current: 2024-05-10T14:31:46+00:00
    utc-time: Friday, 10-May-24 14:31:46 UTC
    server-time: 2024-05-10T10:31:45-04:00 wp-database
    
    extension: mysqli
    server_version: 10.6.8-MariaDB-log
    client_version: mysqlnd 8.3.6
    max_allowed_packet: 67108864
    max_connections: 1024 wp-constants
    
    WP_HOME: https://www-dev.umbc.edu
    WP_SITEURL: https://www-dev.umbc.edu
    WP_CONTENT_DIR: /code/wp-content
    WP_PLUGIN_DIR: /code/wp-content/plugins
    WP_MEMORY_LIMIT: 512M
    WP_MAX_MEMORY_LIMIT: 1024M
    WP_DEBUG: true
    WP_DEBUG_DISPLAY: false
    WP_DEBUG_LOG: true
    SCRIPT_DEBUG: false
    WP_CACHE: false
    CONCATENATE_SCRIPTS: undefined
    COMPRESS_SCRIPTS: undefined
    COMPRESS_CSS: undefined
    WP_ENVIRONMENT_TYPE: Undefined
    WP_DEVELOPMENT_MODE: undefined
    DB_CHARSET: utf8mb4
    DB_COLLATE: undefined wp-filesystem
    
    wordpress: writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable
    mu-plugins: writable
    Plugin Support Rank Math Support

    (@rankmathsupport)

    Hello @umbc,
    ?
    Please try setting up your Analytics again in Rank Math.?
    ?
    Remove RankMath’s app from your Google apps permissions:?https://myaccount.google.com/permissions
    ?
    Then, head over to your?WordPress Dashboard > Rank Math > General Settings > Analytics?and reconnect the Google service and this time, ensure that all permissions are checked:
    ?
    https://i.rankmath.com/i/jJKLYC
    https://i.rankmath.com/i/4EdFaV
    ?
    Clear your website and browser caches and observe if you are still receiving any deprecated warnings.
    ?
    Let us know how that goes. Looking forward to helping you.

    This deprecation was introduced somewhere around PHP 8.2. I am experiencing it as well after updating my PHP version.

    Plugin Support Rank Math Support

    (@rankmathsupport)

    Hello @deltafactory,
    ?
    Please make sure that you are using the latest version of our plugin.?https://rankmath.com/changelog/
    ?
    If the issue persists on the latest version, please open a new forum topic and share some screenshots so we can assist you further. You can use a tool like?https://imgur.com/?to share the screenshots.
    ?
    Looking forward to helping you.

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.