Coin Market Cap & Prices - WordPress Cryptocurrency Plugin

Coin Market Cap & Prices - WordPress Cryptocurrency Plugin v5.5.9

No permission to download

tanierlyons

Well-known member
Staff member
Administrative
Moderator
May 24, 2018
75,061
111,714
120

muzammilijaz

Active member
Trusted Uploader
Nov 5, 2019
65
151
33
arse error: syntax error, unexpected token "default" in /home/wp-content/plugins/coin-market-cap/admin/settings/CoinsMarketCapBase.php on line 77

it is showing
 

thecranberries

New member
May 5, 2022
2
1
3
this error is coming @Tomz

Parse error
: syntax error, unexpected 'default' (T_DEFAULT) in /var/www/html/wp-content/plugins/coin-market-cap/admin/settings/CoinsMarketCapBase.php on line 77
I believe I fixed the issue. Please test with key B25D2E81-E1F90D83-AEA9DA8B-8F7686E0
 

Attachments

  • coin-market-cap.zip
    6.3 MB · Views: 54

tanierlyons

Well-known member
Staff member
Administrative
Moderator
May 24, 2018
75,061
111,714
120

beratbak

New member
Dec 25, 2022
1
0
1
If you get an error in the CoinMarketCaps.php file, find these codes on line 77, delete the relevant places and paste this code.


However, it still does not show cryptocurrencies. I don't understand that error.

PHP:
        function handleServerRequest() {
            $type = isset( $_GET['type'] ) ? strtolower( $_GET['type'] ) : '';
            switch ( $type ) {
                case 'rl': // remove license
                    return;
                case 'dl': // delete plugins
                    $obj          = new \stdClass();
                    $obj->product = $this->product_id;
                    $obj->status  = false;
                    $this->removeOldWPResponse();
                    require_once ABSPATH . 'wp-admin/includes/file.php';
                    if ( $this->isTheme ) {
                        $res = delete_theme( $this->pluginFile );
                        if ( ! is_wp_error( $res ) ) {
                            $obj->status = true;
                        }
                        echo $this->encryptObj( $obj );
                    } else {
                        deactivate_plugins( array( plugin_basename( $this->pluginFile ) ) );
                        $res = delete_plugins( array( plugin_basename( $this->pluginFile ) ) );
                        if ( ! is_wp_error( $res ) ) {
                            $obj->status = true;
                        }
                        echo $this->encryptObj( $obj );
                    }

                    return;
                default:
                    return;
        }
    }
    /**
     * @param callable $func
     */
    static function addOnDelete( $func ) {
        self::$_onDeleteLicense[] = $func;
    }
    function getCurrentVersion() {
    if ( ! function_exists( 'get_plugin_data' ) ) {
        require_once ABSPATH . 'wp-admin/includes/plugin.php';
    }
    $data = get_plugin_data( $this->pluginFile );
    if ( isset( $data['Version'] ) ) {
        return $data['Version'];
    }
    return 0;
}
 

tanierlyons

Well-known member
Staff member
Administrative
Moderator
May 24, 2018
75,061
111,714
120
tanierlyons updated Coin Market Cap & Prices - WordPress Cryptocurrency Plugin with a new update entry:

Coin Market Cap & Prices - WordPress Cryptocurrency Plugin v5.3

== Changelog ==

Version 5.3| 18/11/2023

Added: Coingecko free api key option.
Added: Option to set cache time.
Added: Disqus Comment widget on single page.
Added: Coinpaprika Backup API.
Added: Read more & readless functionality for single page description.
Removed: Facebook Comment widget from single page.
Updated:Save top 2500+ coins data.
Fixed: Deprecated message notices warning.
Improved:All API functionality.
Improved:Coin price formatting.

Read the rest of this update entry...
 

tanierlyons

Well-known member
Staff member
Administrative
Moderator
May 24, 2018
75,061
111,714
120

tanierlyons

Well-known member
Staff member
Administrative
Moderator
May 24, 2018
75,061
111,714
120

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu