kreait / firebase-php

Unofficial Firebase Admin SDK for PHP
https://firebase-php.readthedocs.io/
MIT License
2.28k stars 433 forks source link

Operation is not implemented, or supported, or enabled. #938

Closed PavelDeveloperUa closed 2 months ago

PavelDeveloperUa commented 2 months ago

Describe the bug

Hi. There was an error with push notifications, firebase-php version 5.26.5: "Operation is not implemented, or supported, or enabled."

Installed packages

2amigos/qrcode-library                  1.1.2              QrCode Generator
avator/yii2-turbosms                    1.0.9              Yii2 turbosms
bacon/bacon-qr-code                     1.0.2              BaconQrCode is a QR code generator for PHP.
behat/gherkin                           4.9.0              Gherkin DSL parser for PHP
bower-asset/bootstrap                   3.4.1             
bower-asset/inputmask                   5.0.8             
bower-asset/jquery                      3.7.1             
bower-asset/jquery-ui                   1.12.1            
bower-asset/punycode                    2.3.1             
bower-asset/simple-line-icons           2.5.5             
bower-asset/typeahead.js                0.11.1            
bower-asset/yii2-pjax                   2.0.8             
brick/math                              0.12.1             Arbitrary-precision arithmetic library
cebe/markdown                           1.2.1              A super fast, highly extensible markdown parser for PHP
codeception/codeception                 4.2.2              BDD-style testing framework
codeception/lib-asserts                 2.0.1              Assertion methods used by Codeception core and Asserts module
codeception/phpunit-wrapper             9.0.9              PHPUnit classes used by Codeception
codeception/specify                     0.4.6              BDD code blocks for PHPUnit and Codeception
codeception/stub                        4.0.2              Flexible Stub wrapper for PHPUnit's Mock Builder
codeception/verify                      0.3.3              BDD assertion library for PHPUnit
coreui/coreui                           2.3.1              Sleek, intuitive, and powerful front-end framework for faster and easier web development.
dektrium/yii2-rbac                      1.0.1              RBAC management module for Yii2
dektrium/yii2-user                      0.9.14             Flexible user registration and authentication module for Yii2
doctrine/instantiator                   2.0.0              A small, lightweight utility to instantiate objects in PHP without invoking their constructors
enterosoft/yii2-perfect-scrollbar       dev-master 5f2f11f perfect scrollbar Asset Bundle for yii2
ezyang/htmlpurifier                     4.17.0             Standards compliant HTML filter written in PHP
fakerphp/faker                          1.23.1             Faker is a PHP library that generates fake data for you.
fig/http-message-util                   1.1.5              Utility classes and constants for use with PSR-7 (psr/http-message)
firebase/php-jwt                        6.10.1             A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.
fortawesome/font-awesome                5.15.4             The iconic font, CSS, and SVG framework
google/auth                             1.26.0             Google Auth Library for PHP
google/cloud-core                       1.52.10            Google Cloud PHP shared dependency, providing functionality useful to all components.
google/cloud-storage                    1.36.1             Cloud Storage Client for PHP
guzzlehttp/guzzle                       6.5.8              Guzzle is a PHP HTTP client library
guzzlehttp/promises                     1.5.3              Guzzle promises library
guzzlehttp/psr7                         1.9.1              PSR-7 message implementation that also provides common utility methods
himiklab/yii2-sortable-grid-view-widget 1.0.11             Sortable modification of standard Yii2 GridView widget
insolita/yii2-migration-generator       3.2                Set of gii tools for generating  files for migration by schema of table , phpdoc or table data
kartik-v/bootstrap-fileinput            5.5.4              An enhanced HTML 5 file input for Bootstrap 5.x, 4.x, and 3.x with features for file preview for many file types, multiple selection, ajax...
kartik-v/bootstrap-tabs-x               1.3.5              Extended Bootstrap Tabs with ability to align tabs in multiple ways, add borders, rotated titles, and more.
kartik-v/php-date-formatter             1.3.6              A Javascript datetime formatting and manipulation library using PHP date-time formats.
kartik-v/yii2-bootstrap4-dropdown       1.0.4              Enhanced Bootstrap 4.x dropdown widget for Yii2 with nested submenu support
kartik-v/yii2-datecontrol               dev-master 88ac240 Date control module allowing separation of formats for View and Model for Yii Framework 2.0
kartik-v/yii2-dialog                    1.0.6              An asset bundle for bootstrap3-dialog for Yii 2.0 framework.
kartik-v/yii2-field-range               dev-master 8a18edb Easily manage Yii 2 ActiveField ranges (from/to) with Bootstrap 3 addons markup and more
kartik-v/yii2-grid                      3.5.3              Yii 2 GridView on steroids. Various enhancements and utilities for the Yii 2.0 GridView widget.
kartik-v/yii2-helpers                   1.3.9              A collection of useful helper functions for Yii Framework 2.0
kartik-v/yii2-krajee-base               3.0.5              Base library and foundation components for all Yii2 Krajee extensions.
kartik-v/yii2-slider                    dev-master ef1df56 An advanced slider input for Yii Framework 2 for both touch enabled and desktop devices based on bootstrap-slider.
kartik-v/yii2-sortable                  1.2.2              Create sortable lists and grids using HTML5 drag and drop API for Yii 2.0.
kartik-v/yii2-sortable-input            dev-master b5f09f5 Sortable input widget based on yii2-sortable extension.
kartik-v/yii2-tabs-x                    dev-master 20e2a2b A supercharged Bootstrap tabs widget with ability to align tabs in multiple ways, add borders, rotated titles, and more.
kartik-v/yii2-widget-activeform         1.6.4              Enhanced Yii2 active-form and active-field with full bootstrap styling support (sub repo split from yii2-widgets).
kartik-v/yii2-widget-datepicker         dev-master a42d8f5 Enhanced Yii2 wrapper for the bootstrap datepicker plugin (sub repo split from yii2-widgets).
kartik-v/yii2-widget-datetimepicker     dev-master 85b22d3 Enhanced Yii2 wrapper for the bootstrap datetimepicker plugin (sub repo split from yii2-widgets)
kartik-v/yii2-widget-fileinput          dev-master b5500b6 An enhanced FileInput widget for Bootstrap 3.x, 4.x & 5.x with file preview, multiple selection, and more features (sub repo split from yi...
kartik-v/yii2-widget-select2            2.2.5              Enhanced Yii2 wrapper for the Select2 jQuery plugin (sub repo split from yii2-widgets).
kartik-v/yii2-widget-touchspin          dev-master 1eec4c3 A Yii2 wrapper widget for the Bootstrap Switch plugin to use checkboxes & radios as toggle touchspines (sub repo split from yii2-widgets)
kartik-v/yii2-widget-typeahead          dev-master 5335af5 Enhanced Yii2 wrapper for the Twitter Typeahead plugin (sub repo split from yii2-widgets).
khanamiryan/qrcode-detector-decoder     1.0.6              QR code decoder / reader
kreait/clock                            1.2                A PHP 7.0 compatible clock abstraction
kreait/firebase-php                     5.26.5             Firebase Admin SDK
kreait/firebase-tokens                  1.17.0             A library to work with Firebase tokens
lcobucci/clock                          3.3.1              Yet another clock abstraction
lcobucci/jwt                            4.3.0              A simple library to work with JSON Web Token and JSON Web Signature
mimicreative/yii2-simple-line-icons     1.0.0              Simple Line Icons Asset Bundle for Yii2
monolog/monolog                         3.7.0              Sends your logs to files, sockets, inboxes, databases and various web services
mtdowling/jmespath.php                  2.8.0              Declaratively specify how to extract elements from a JSON document
myclabs/deep-copy                       1.12.0             Create deep copies (clones) of your objects
nikic/php-parser                        5.2.0              A PHP parser written in PHP
npm-asset/bootstrap                     4.6.2             
npm-asset/perfect-scrollbar             1.4.0             
paragonie/random_compat                 9.99.100           PHP 5.x polyfill for random_bytes() and random_int() from PHP 7
paragraph1/php-fcm                      0.7                PHP application server for google firebase cloud messaging (FCM)
phar-io/manifest                        2.0.4              Component for reading phar.io manifest information from a PHP Archive (PHAR)
phar-io/version                         3.2.1              Library for handling version information and constraints
phpspec/php-diff                        1.1.3              A comprehensive library for generating differences between two hashable objects (strings or arrays).
phpunit/php-code-coverage               9.2.32             Library that provides collection, processing, and rendering functionality for PHP code coverage information.
phpunit/php-file-iterator               3.0.6              FilterIterator implementation that filters files based on a list of suffixes.
phpunit/php-invoker                     3.1.1              Invoke callables with a timeout
phpunit/php-text-template               2.0.4              Simple template engine.
phpunit/php-timer                       5.0.3              Utility class for timing
phpunit/phpunit                         9.6.21             The PHP Unit Testing framework.
psr/cache                               3.0.0              Common interface for caching libraries
psr/clock                               1.0.0              Common interface for reading the clock.
psr/container                           2.0.2              Common Container Interface (PHP FIG PSR-11)
psr/event-dispatcher                    1.0.0              Standard interfaces for event handling.
psr/http-message                        1.1                Common interface for HTTP messages
psr/log                                 3.0.2              Common interface for logging libraries
psr/simple-cache                        1.0.1              Common interfaces for simple caching
ralouphie/getallheaders                 3.0.3              A polyfill for getallheaders.
ramsey/collection                       2.0.0              A PHP library for representing and manipulating collections.
ramsey/uuid                             4.7.6              A PHP library for generating and working with universally unique identifiers (UUIDs).
riverline/multipart-parser              2.1.2              One class library to parse multipart content with encoding and charset support.
rize/uri-template                       0.3.8              PHP URI Template (RFC 6570) supports both expansion & extraction
rmrevin/yii2-fontawesome                3.7.0              Asset Bundle for Yii2 with Font Awesome
sebastian/cli-parser                    1.0.2              Library for parsing CLI options
sebastian/code-unit                     1.0.8              Collection of value objects that represent the PHP code units
sebastian/code-unit-reverse-lookup      2.0.3              Looks up which function or method a line of code belongs to
sebastian/comparator                    4.0.8              Provides the functionality to compare PHP values for equality
sebastian/complexity                    2.0.3              Library for calculating the complexity of PHP code units
sebastian/diff                          4.0.6              Diff implementation
sebastian/environment                   5.1.5              Provides functionality to handle HHVM/PHP environments
sebastian/exporter                      4.0.6              Provides the functionality to export PHP variables for visualization
sebastian/global-state                  5.0.7              Snapshotting of global state
sebastian/lines-of-code                 1.0.4              Library for counting the lines of code in PHP source code
sebastian/object-enumerator             4.0.4              Traverses array structures and object graphs to enumerate all referenced objects
sebastian/object-reflector              2.0.4              Allows reflection of object attributes, including inherited and non-public ones
sebastian/recursion-context             4.0.5              Provides functionality to recursively process PHP variables
sebastian/resource-operations           3.0.4              Provides a list of PHP built-in functions that operate on resources
sebastian/type                          3.2.1              Collection of value objects that represent the types of the PHP type system
sebastian/version                       3.0.2              Library that helps with managing the version number of Git-hosted PHP projects
select2/select2                         4.0.13             Select2 is a jQuery based replacement for select boxes.
stella-maris/clock                      0.1.7              A pre-release of the proposed PSR-20 Clock-Interface
swiftmailer/swiftmailer                 5.4.12             Swiftmailer, free feature-rich PHP mailer
symfony/console                         3.4.47             Symfony Console Component
symfony/css-selector                    5.4.40             Converts CSS selectors to XPath expressions
symfony/debug                           4.4.44             Provides tools to ease debugging PHP code
symfony/deprecation-contracts           3.5.0              A generic function and convention to trigger deprecation notices
symfony/event-dispatcher                5.4.40             Provides tools that allow your application components to communicate with each other by dispatching events and listening to them
symfony/event-dispatcher-contracts      3.5.0              Generic abstractions related to dispatching event
symfony/finder                          5.4.43             Finds files and directories via an intuitive fluent interface
symfony/polyfill-ctype                  1.31.0             Symfony polyfill for ctype functions
symfony/polyfill-intl-idn               1.31.0             Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions
symfony/polyfill-intl-normalizer        1.31.0             Symfony polyfill for intl's Normalizer class and related functions
symfony/polyfill-mbstring               1.31.0             Symfony polyfill for the Mbstring extension
symfony/polyfill-php80                  1.31.0             Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions
symfony/polyfill-php81                  1.31.0             Symfony polyfill backporting some PHP 8.1+ features to lower PHP versions
symfony/yaml                            4.4.45             Loads and dumps YAML files
theseer/tokenizer                       1.2.3              A small library for converting tokenized PHP source code into XML and potentially other formats
twitter/bootstrap                       4.6.2              The most popular front-end framework for developing responsive, mobile first projects on the web.
understeam/yii2-fcm                     0.2.0              Yii2 Firebase Cloud Messaging adapter
yiisoft/yii2                            2.0.51             Yii PHP Framework Version 2
yiisoft/yii2-authclient                 2.2.16             External authentication via OAuth and OpenID for the Yii framework
yiisoft/yii2-bootstrap                  2.0.11             The Twitter Bootstrap extension for the Yii framework
yiisoft/yii2-bootstrap4                 2.0.11             The Twitter Bootstrap extension for the Yii framework
yiisoft/yii2-composer                   2.0.10             The composer plugin for Yii extension installer
yiisoft/yii2-debug                      2.0.14             The debugger extension for the Yii framework
yiisoft/yii2-faker                      2.0.5              Fixture generator. The Faker integration for the Yii framework.
yiisoft/yii2-gii                        2.0.8              The Gii extension for the Yii framework
yiisoft/yii2-httpclient                 2.0.15             HTTP client extension for the Yii framework
yiisoft/yii2-jui                        2.0.7              The Jquery UI extension for the Yii framework
yiisoft/yii2-swiftmailer                2.0.7              The SwiftMailer integration for the Yii framework

PHP version and extensions

The "yiisoft/yii2-composer" plugin was skipped because it requires a Plugin API version ("^1.0") that does not match your Composer installation ("2.6.0"). You may need to run composer update with the "--no-plugins" option.
composer                2.7.2     Composer package
composer-plugin-api     2.6.0     The Composer Plugin API
composer-runtime-api    2.2.2     The Composer Runtime API
ext-apcu                5.1.21    The apcu PHP extension
ext-bcmath              8.0.25    The bcmath PHP extension
ext-bz2                 8.0.25    The bz2 PHP extension
ext-calendar            8.0.25    The calendar PHP extension
ext-ctype               8.0.25    The ctype PHP extension
ext-curl                8.0.25    The curl PHP extension
ext-date                8.0.25    The date PHP extension
ext-dom                 20031129  The dom PHP extension
ext-exif                8.0.25    The exif PHP extension
ext-ffi                 8.0.25    The FFI PHP extension
ext-fileinfo            8.0.25    The fileinfo PHP extension
ext-filter              8.0.25    The filter PHP extension
ext-ftp                 8.0.25    The ftp PHP extension
ext-gd                  8.0.25    The gd PHP extension
ext-gettext             8.0.25    The gettext PHP extension
ext-hash                8.0.25    The hash PHP extension
ext-iconv               8.0.25    The iconv PHP extension
ext-imagick             3.7.0     The imagick PHP extension
ext-imap                8.0.25    The imap PHP extension
ext-intl                8.0.25    The intl PHP extension
ext-json                8.0.25    The json PHP extension
ext-ldap                8.0.25    The ldap PHP extension
ext-libxml              8.0.25    The libxml PHP extension
ext-mbstring            8.0.25    The mbstring PHP extension
ext-mysqli              8.0.25    The mysqli PHP extension
ext-mysqlnd             0         The mysqlnd PHP extension (actual version: mysqlnd 8.0.25)
ext-openssl             8.0.25    The openssl PHP extension
ext-pcntl               8.0.25    The pcntl PHP extension
ext-pcre                8.0.25    The pcre PHP extension
ext-pdo                 8.0.25    The PDO PHP extension
ext-pdo_mysql           8.0.25    The pdo_mysql PHP extension
ext-phar                8.0.25    The Phar PHP extension
ext-posix               8.0.25    The posix PHP extension
ext-pspell              8.0.25    The pspell PHP extension
ext-readline            8.0.25    The readline PHP extension
ext-reflection          8.0.25    The Reflection PHP extension
ext-session             8.0.25    The session PHP extension
ext-shmop               8.0.25    The shmop PHP extension
ext-simplexml           8.0.25    The SimpleXML PHP extension
ext-soap                8.0.25    The soap PHP extension
ext-sockets             8.0.25    The sockets PHP extension
ext-sodium              8.0.25    The sodium PHP extension
ext-spl                 8.0.25    The SPL PHP extension
ext-sysvmsg             8.0.25    The sysvmsg PHP extension
ext-sysvsem             8.0.25    The sysvsem PHP extension
ext-sysvshm             8.0.25    The sysvshm PHP extension
ext-tokenizer           8.0.25    The tokenizer PHP extension
ext-xml                 8.0.25    The xml PHP extension
ext-xmlreader           8.0.25    The xmlreader PHP extension
ext-xmlwriter           8.0.25    The xmlwriter PHP extension
ext-xsl                 8.0.25    The xsl PHP extension
ext-zend-opcache        8.0.25    The Zend OPcache PHP extension
ext-zip                 1.19.5    The zip PHP extension
ext-zlib                8.0.25    The zlib PHP extension
lib-bz2                 1.0.8     The bz2 library
lib-curl                7.68.0    The curl library
lib-curl-libssh         0.9.3     curl libssh version
lib-curl-openssl        1.1.1.6   curl OpenSSL version (1.1.1.6)
lib-curl-zlib           1.2.11    curl zlib version
lib-date-timelib        2020.03   date timelib version
lib-date-zoneinfo       0         zoneinfo ("Olson") database for date
lib-fileinfo-libmagic   539       fileinfo libmagic version
lib-gd                  2.3.3     The gd library
lib-iconv               2.31      The iconv library
lib-icu                 66.1      The ICU unicode and globalization support library
lib-icu-cldr            36.1      ICU CLDR project version
lib-icu-unicode         13.0.0    ICU unicode version
lib-imagick-imagemagick 6.9.10.23 The imagick-imagemagick library
lib-ldap-openldap       2.4.49    OpenLDAP version of ldap
lib-libsodium           1.0.18    The libsodium library
lib-libxml              2.9.14    libxml library version
lib-libxslt             1.1.34    The libxslt library
lib-libxslt-libxml      2.9.10    libxml version libxslt is compiled against
lib-mbstring-libmbfl    1.3.2     mbstring libmbfl version
lib-mbstring-oniguruma  6.9.4     mbstring oniguruma version
lib-openssl             1.1.1.6   OpenSSL 1.1.1f  31 Mar 2020
lib-pcre                10.40     The pcre library
lib-pcre-unicode        14.0.0    PCRE Unicode version support
lib-zip-libzip          1.7.3     The zip-libzip library
lib-zlib                1.2.11    The zlib library
php                     8.0.25    The PHP interpreter
php-64bit               8.0.25    The PHP interpreter, 64bit
php-ipv6                8.0.25    The PHP interpreter, with IPv6 support

Steps to reproduce the issue.

# Insert the commands issued in the terminal if they are needed
# to reproduce the issue. Otherwise, delete this code block.
// Insert the PHP code to reproduce the issue. Please ensure that it is code that
// can be copy pasted to reproduce it.

Error message/Stack trace

Operation is not implemented, or supported, or enabled."

Additional information

No response

jeromegamez commented 2 months ago

Please use the issue search 😅

https://github.com/kreait/firebase-php/issues?q=Operation+is+not+implemented%2C+or+supported%2C+or+enabled

tl;ds; You're using a super old and unsupported version of the SDK. Firebase has long deprecated and now shut-down legacy FCM API endpoints. Only the latest 7.x releases support the new FCM API endpoints.