Hi,
I've tried to update our website to PHP 8, however this causes my buttons to disappear. It seems very much related to the PHP version since the buttons appear again when I downgrade to PHP 7.4.
Wordpress is 5.8.2 and Buttonizer is 2.5.5.
Is there any known issues with PHP 8?
Kind regards,
Daniel

  • James replied to this.
  • Hi Carmine & Daniel,

    I wanted to let you know that we have released an update yesterday. This should improve the issues you were experiencing before for PHP 8.

    The issue Carmine and others experienced was in a translation file. These issues have been addressed for all languages Buttonizer is available in 🙂

    If there's anything else, make sure to let us know!

    Cheers,
    Jasper

    Hi Daniel_Sahlberg ,

    I just updated my PHP to PHP 8 and it seems to be working correctly.

    Perhaps it could be another plugin that's causing Buttonizer to not show up on PHP 8?

    Can you maybe send us a screenshot of your console log? It might show something that would let us know why it's not showing up.

    A screenshot like this:

      Same situation, I attach tarce stack

      Dettagli dell'errore

      Un errore di E_ERROR è stato causato nella linea 279 del file /home/qrzxzcrb/public_html/wp-content/plugins/buttonizer-multifunctional-button/app/Admin/Translations.php. Messaggio di errore: Uncaught ValueError: Unknown format specifier " " in /home/qrzxzcrb/public_html/wp-content/plugins/buttonizer-multifunctional-button/app/Admin/Translations.php:279
      Stack trace:
      #0 /home/qrzxzcrb/public_html/wp-content/plugins/buttonizer-multifunctional-button/app/Admin/Translations.php(279): sprintf()
      #1 /home/qrzxzcrb/public_html/wp-content/plugins/buttonizer-multifunctional-button/app/Admin/Translations.php(27): Buttonizer\Admin\Translations->utils()
      #2 /home/qrzxzcrb/public_html/wp-content/plugins/buttonizer-multifunctional-button/app/Admin/Admin.php(171): Buttonizer\Admin\Translations->get()
      #3 /home/qrzxzcrb/public_html/wp-content/plugins/buttonizer-multifunctional-button/app/Admin/Admin.php(117): Buttonizer\Admin\Admin->getPluginAdminPage()
      #4 /home/qrzxzcrb/public_html/wp-includes/class-wp-hook.php(303): Buttonizer\Admin\Admin->adminPages()
      #5 /home/qrzxzcrb/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
      #6 /home/qrzxzcrb/public_html/wp-includes/plugin.php(470): WP_Hook->do_action()
      #7 /home/qrzxzcrb/public_html/wp-admin/admin.php(175): do_action()
      #8 {main}
      thrown

      Site information
      `

      wp-core

      version: 5.8.2
      site_language: it_IT
      user_language: it_IT
      permalink: /%postname%/
      https_status: true
      user_registration: 0
      default_comment_status: open
      multisite: false
      user_count: 1
      dotorg_communication: true

      wp-paths-sizes

      wordpress_path: /home/qrzxzcrb/public_html
      wordpress_size: 59,31 MB (62196139 bytes)
      uploads_path: /home/qrzxzcrb/public_html/wp-content/uploads
      uploads_size: 61,96 MB (64966621 bytes)
      themes_path: /home/qrzxzcrb/public_html/wp-content/themes
      themes_size: 6,87 MB (7204601 bytes)
      plugins_path: /home/qrzxzcrb/public_html/wp-content/plugins
      plugins_size: 87,31 MB (91551789 bytes)
      database_size: 2,62 MB (2752184 bytes)
      total_size: 218,08 MB (228671334 bytes)

      wp-dropins (1)

      advanced-cache.php: true

      wp-active-theme

      name: Courtyard Pro (courtyard-pro)
      version: 1.6.6
      author: Precise Themes
      author_website: https://precisethemes.com/
      parent_theme: none
      theme_features: core-block-patterns, widgets-block-editor, automatic-feed-links, title-tag, customize-selective-refresh-widgets, custom-logo, post-thumbnails, menus, html5, custom-background, custom-header, infinite-scroll, jetpack-responsive-videos, widgets
      theme_path: /home/qrzxzcrb/public_html/wp-content/themes/courtyard-pro

      wp-mu-plugins (2)

      Health Check Troubleshooting Mode: author: (undefined), version: 1.7.2
      WP Migrate DB Compatibility: version: 1.2, author: Delicious Brains

      wp-plugins-active (23)

      Buttonizer - Smart Floating Action Button: version: 2.5.5, author: Buttonizer
      CBX Map for Google Map & OpenStreetMap: version: 1.1.11, author: Codeboxr
      Classic Editor: version: 1.6.2, author: WordPress Contributors
      Classic Widgets: version: 0.2, author: WordPress Contributors
      Cookie and Consent Solution for the GDPR & ePrivacy: version: 2.5.8, author: iubenda
      Disable WP Sitemaps: version: 1.4, author: Jeff Starr
      FooBar WordPress Notifications: version: 2.1.12, author: FooPlugins
      FooBox Image Lightbox: version: 2.7.16, author: FooPlugins
      FooGallery: version: 2.1.18, author: FooPlugins
      GA Google Analytics: version: 20210719, author: Jeff Starr
      Health Check & Troubleshooting: version: 1.4.5, author: The WordPress.org community
      Limit Login Attempts Reloaded: version: 2.23.2, author: Limit Login Attempts Reloaded
      MailArchiver: version: 2.6.0, author: Pierre Lannoy / PerfOps One
      Pinpoint Booking System PRO: version: 2.9.9.2.3, author: PINPOINT.WORLD
      Popup Builder: version: 4.0.6, author: Sygnoos
      Quick Featured Images: version: 13.5.7, author: Kybernetik Services
      SimpleForm: version: 2.0.9, author: WPSForm Team
      SimpleForm reCAPTCHA: version: 1.1.1, author: WPSForm Team
      Uix Shortcodes: version: 1.9.8, author: UIUX Lab
      WebP Express: version: 0.25.0, author: Bjørn Rosell
      WP Migrate DB: version: 2.2.1, author: Delicious Brains
      Yoast Duplicate Post: version: 4.3, author: Enrico Battocchi & Team Yoast
      Yoast SEO: version: 17.8, author: Team Yoast

      wp-plugins-inactive (1)

      WP Rocket: version: 3.10.5, author: WP Media

      wp-media

      image_editor: FooGallery_Thumb_Image_Editor_Imagick
      imagick_module_version: 1808
      imagemagick_version: ImageMagick 7.1.0-2 Q16 x86_64 2021-06-25 https://imagemagick.org
      gd_version: 2.2.5
      ghostscript_version: unknown

      wp-server

      server_architecture: Linux 4.18.0-305.10.2.2.lve.el7h.x86_64 x86_64
      httpd_software: Apache
      php_version: 8.0.13 64bit
      php_sapi: litespeed
      max_input_variables: 8000
      time_limit: 360
      memory_limit: 368M
      max_input_time: 360
      upload_max_size: 16M
      php_post_max_size: 32M
      curl_version: 7.71.0 OpenSSL/1.1.1d
      suhosin: false
      imagick_availability: true
      server-headers:
      date: Sun, 19 Dec 2021 14:47:58 GMT
      server: Apache
      expires: Wed, 11 Jan 1984 05:00:00 GMT
      cache-control: no-cache, must-revalidate, max-age=0, no-store
      link: https://www.sviluppocasamagliana.it/wp-json/; rel="https://api.w.org/", https://www.sviluppocasamagliana.it/wp-json/wp/v2/pages/724; rel="alternate"; type="application/json", https://www.sviluppocasamagliana.it/; rel=shortlink
      upgrade: h2,h2c
      vary: Accept-Encoding,User-Agent
      content-encoding: gzip
      content-length: 15588
      content-type: text/html; charset=UTF-8
      htaccess_extra_rules: true

      wp-database

      extension: mysqli
      server_version: 10.3.32-MariaDB-cll-lve
      client_version: 10.3.31-MariaDB

      wp-constants

      WP_HOME: undefined
      WP_SITEURL: undefined
      WP_CONTENT_DIR: /home/qrzxzcrb/public_html/wp-content
      WP_PLUGIN_DIR: /home/qrzxzcrb/public_html/wp-content/plugins
      WP_MAX_MEMORY_LIMIT: 368M
      WP_DEBUG: false
      WP_DEBUG_DISPLAY: true
      WP_DEBUG_LOG: false
      SCRIPT_DEBUG: false
      WP_CACHE: false
      CONCATENATE_SCRIPTS: undefined
      COMPRESS_SCRIPTS: undefined
      COMPRESS_CSS: undefined
      WP_LOCAL_DEV: undefined

      wp-filesystem

      wordpress: writable
      wp-content: writable
      uploads: writable
      plugins: writable
      themes: writable
      mu-plugins: writable

      perfopsone_objectcache

      product: APCu
      directive_enabled: 1
      directive_shm_segments: 1
      directive_shm_size: 32M
      directive_entries_hint: 4096
      directive_ttl: 0
      directive_gc_ttl: 3600
      directive_mmap_file_mask: undefined
      directive_slam_defense: 0
      directive_enable_cli: 0
      directive_use_request_time: 0
      directive_serializer: php
      directive_coredump_unmap: 0
      directive_preload_path: undefined
      status_num_seg: 1
      status_seg_size: 33554312
      status_avail_mem: 33521328
      status_num_slots: 4099
      status_ttl: undefined
      status_num_hits: undefined
      status_num_misses: undefined
      status_num_inserts: undefined
      status_num_entries: undefined
      status_expunges: undefined
      status_start_time: 1639925265
      status_mem_size: undefined
      status_memory_type: mmap

      perfopsone_opcache

      product: Zend OPcache 8.0.13
      directive_opcache.enable: true
      directive_opcache.enable_cli: false
      directive_opcache.use_cwd: true
      directive_opcache.validate_timestamps: true
      directive_opcache.validate_permission: false
      directive_opcache.validate_root: false
      directive_opcache.dups_fix: false
      directive_opcache.revalidate_path: false
      directive_opcache.log_verbosity_level: 1
      directive_opcache.memory_consumption: 134217728
      directive_opcache.interned_strings_buffer: 8
      directive_opcache.max_accelerated_files: 10000
      directive_opcache.max_wasted_percentage: 0.05
      directive_opcache.consistency_checks: undefined
      directive_opcache.force_restart_timeout: 180
      directive_opcache.revalidate_freq: 2
      directive_opcache.preferred_memory_model: undefined
      directive_opcache.blacklist_filename: undefined
      directive_opcache.max_file_size: undefined
      directive_opcache.error_log: undefined
      directive_opcache.protect_memory: false
      directive_opcache.save_comments: true
      directive_opcache.record_warnings: false
      directive_opcache.enable_file_override: false
      directive_opcache.optimization_level: 2147401727
      directive_opcache.lockfile_path: /tmp
      directive_opcache.file_cache: undefined
      directive_opcache.file_cache_only: false
      directive_opcache.file_cache_consistency_checks: true
      directive_opcache.file_update_protection: 2
      directive_opcache.opt_debug_level: undefined
      directive_opcache.restrict_api: undefined
      directive_opcache.huge_code_pages: false
      directive_opcache.preload: undefined
      directive_opcache.preload_user: undefined
      directive_opcache.jit: tracing
      directive_opcache.jit_buffer_size: undefined
      directive_opcache.jit_debug: undefined
      directive_opcache.jit_bisect_limit: undefined
      directive_opcache.jit_blacklist_root_trace: 16
      directive_opcache.jit_blacklist_side_trace: 8
      directive_opcache.jit_hot_func: 127
      directive_opcache.jit_hot_loop: 64
      directive_opcache.jit_hot_return: 8
      directive_opcache.jit_hot_side_exit: 8
      directive_opcache.jit_max_exit_counters: 8192
      directive_opcache.jit_max_loop_unrolls: 8
      directive_opcache.jit_max_polymorphic_calls: 2
      directive_opcache.jit_max_recursive_calls: 2
      directive_opcache.jit_max_recursive_returns: 2
      directive_opcache.jit_max_root_traces: 1024
      directive_opcache.jit_max_side_traces: 128
      directive_opcache.jit_prof_threshold: undefined
      status_opcache_enabled: true
      status_cache_full: false
      status_restart_pending: false
      status_restart_in_progress: false
      status_used_memory: 6291008
      status_free_memory: undefined
      status_wasted_memory: undefined
      status_current_wasted_percentage: undefined
      status_buffer_size: undefined
      status_number_of_strings: 98290
      status_num_cached_scripts: 1730
      status_num_cached_keys: 2710
      status_max_cached_keys: 16229
      status_hits: 17234
      status_start_time: 1639925265
      status_last_restart_time: undefined
      status_oom_restarts: undefined
      status_hash_restarts: undefined
      status_manual_restarts: undefined
      status_misses: 1730
      status_blacklist_misses: undefined
      status_blacklist_miss_ratio: undefined
      status_opcache_hit_rate: 90.877452014343
      status_enabled: false
      status_on: false
      status_kind: 5
      status_opt_level: 4
      status_opt_flags: 6
      status_buffer_free: undefined

      mailarchiver_archivers (1)

      28326776-7b30-4eed-96fc-9a19cd3f02a9:
      handler: WordpressHandler
      running: yes
      level: info
      privacy: [obfuscation]
      processors: [WordpressProcessor, MailProcessor]
      configuration: [rotate:1000, purge:365, local:true]
      uuid: {28326776-7b30-4eed-96fc-9a19cd3f02a9}

      mailarchiver

      version: 2.6.0
      use_cdn: undefined
      download_favicons: undefined
      script_in_footer: undefined
      display_nag: undefined
      archiver_autostart: 1
      autolisteners: 1
      privileges: undefined
      mode: undefined
      listeners: undefined

      `

        15 days later

        James

        Hi James and sorry for not answering back, holidays got in the way.

        Now I've investigated closer and it turns out to be another plugin (SEO Ultimate) stepping on the toes of Buttonizer.

        So, sorry for implicating Buttonizer when it turned out to be something completely different.

        Thank you for your help!
        Daniel

        a month later

        Hi Carmine & Daniel,

        I wanted to let you know that we have released an update yesterday. This should improve the issues you were experiencing before for PHP 8.

        The issue Carmine and others experienced was in a translation file. These issues have been addressed for all languages Buttonizer is available in 🙂

        If there's anything else, make sure to let us know!

        Cheers,
        Jasper