• You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.

    Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"

Content Egg - All in one plugin for Affiliate, Price Comparison, Deal sites

Content Egg - All in one plugin for Affiliate, Price Comparison, Deal sites v12.11.4

No permission to download
Hello, after installing the new version, the module for inserting products under posts no longer appears. same solutions?
 
Hello, after installing the new version, the module for inserting products under posts no longer appears. same solutions?
Hi, what do you mean by same solutions? Because I too have the same problem for a couple of updates already, and I don't know how to do it.
 
  • Like
Reactions: JRGWxRxZ and fau777
Babak updated Content Egg - All in one plugin for Affiliate, Price Comparison, Deal sites with a new update entry:

Content Egg v11.4.0

Download Content Egg v11.4.0 - All in one plugin for Affiliate, Price Comparison, Deal sites Nulled Free
= v11.4.0 =

* New: Trovaprezzi module.
* New: Pass-through query parameters to redirect links.
* Improvement: Update cron starts every 10 minutes.
* Improvement: Internal update limits have been increased.
* Fix: Shopee module: Locale selection.

Read the rest of this update entry...
 
With new version have some errors. Something conflict.

There has been a critical error on this website. Please check your site admin email inbox for instructions.


When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.1.1
Active theme: Rehub theme (version 18.9.6)
Current plugin: Content Egg Pro (version 11.4.0)
PHP version 7.4.33



Error Details
=============
An error of type E_PARSE was caused in line 110 of the file /home/******/public_html/wp-content/plugins/content-egg/application/admin/LicConfig.php. Error message: syntax error, unexpected '$response' (T_VARIABLE), expecting ';'
When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.1.1
Active theme: Rehub theme (version 18.9.6)
Current plugin: Aiomatic - Automatic AI Content Writer (version 1.2.5)
PHP version 7.4.33



Error Details
=============
An error of type E_ERROR was caused in line 2 of the file /home/******/public_html/wp-content/plugins/aiomatic-automatic-ai-content-writer/res/aiomatic-limits-statistics.php. Error message: Cannot redeclare aiomatic_array_unique() (previously declared in /home/******/public_html/wp-content/plugins/aiomatic-automatic-ai-content-writer/aiomatic-helpers.php:27)


I try to deactivate plugin Aiomatic but still not work...With Content Egg version 10.8.2 is work normal.... but with 11.4.0 is death...
 
I find solution for that, who need can try:

When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.1.1
Active theme: Rehub theme (version 18.9.6)
Current plugin: Content Egg Pro (version 11.4.0)
PHP version 7.4.33



Error Details
=============
An error of type E_PARSE was caused in line 110 of the file /home/******/public_html/wp-content/plugins/content-egg/application/admin/LicConfig.php. Error message: syntax error, unexpected '$response' (T_VARIABLE), expecting ';'

I solved the problem, it was very simple, I just wasn't paying attention.
The plugin comes with the already broken file, it is missing ";"
I speack about this problem:
There has been a critical error on this website.

Learn more about troubleshooting WordPress.

Anyone who encounters the problem I encountered, you can replace the file with this fixed one.

return true;

You can go in content-egg\application\admin and replace this file LicConfig.php


Code:
<?php

namespace ContentEgg\application\admin;

defined('\ABSPATH') || exit;

use ContentEgg\application\components\Config;
use ContentEgg\application\Plugin;
use ContentEgg\application\components\LManager;

/**
 * LicConfig class file
 *
 * @author keywordrush.com <[email protected]>
 * @link https://www.keywordrush.com
 * @copyright Copyright &copy; 2023 keywordrush.com
 */
class LicConfig extends Config
{

    public function page_slug()
    {
        if ($this->option('license_key') || \get_option(Plugin::slug . '_env_install'))
        {
            return Plugin::slug . '-lic';
        }
        else
        {
            return Plugin::slug;
        }
    }

    public function option_name()
    {
        return Plugin::slug . '_lic';
    }

    public function add_admin_menu()
    {
        $this->resetLicense();
        $this->refreshLicense();
        \add_submenu_page(Plugin::slug, __('License', 'content-egg') . ' &lsaquo; Content Egg', __('License', 'content-egg'), 'manage_options', $this->page_slug(), array(
            $this,
            'settings_page'
        ));
    }

    protected function options()
    {
        return array(
            'license_key' => array(
                'title'       => __('License key', 'content-egg'),
                'description' => __('Please enter your license key.', 'content-egg') . ' ' . sprintf(__('You can find your key on the %s page.', 'content-egg'), '<a href="' . \esc_url(Plugin::panelUri) . '" target="_blank">My Account</a>') . ' ' .
                    sprintf(__("If you don't have one yet, you can buy it from our <a target='_blank' href='%s'>official website</a>.", 'content-egg'), Plugin::pluginSiteUrl()),
                'callback'    => array($this, 'render_input'),
                'default'     => '',
                'validator'   => array(
                    'trim',
                    array(
                        'call'    => array('\ContentEgg\application\helpers\FormValidator', 'required'),
                        'message' => __('The "License key" can not be empty', 'content-egg'),
                    ),
                    array(
                        'call'    => array($this, 'licFormat'),
                        'message' => __('Invalid license key', 'content-egg'),
                    ),
                    array(
                        'call'    => array($this, 'activatingLicense'),
                        'message' =>
                        __('License key is not accepted. Make sure that you use actual key.', 'content-egg') .
                            ' ' .
                            __('If you have correct key, but it\'s not accepted, this means that your server blocks external connections or there is any other reason that your server doesn\'t allow to connect to keywordrush.com site.', 'content-egg') .
                            ' ' .
                            __('Please, write about this to your hosting provider.', 'content-egg') .
                            ' ' .
                            __('If you need our help, write to <a href="http://www.keywordrush.com/en/contact">our support</a>.', 'content-egg'),
                    ),
                    array(
                        'call' => array($this, 'resetLicInfo'),
                    ),
                ),
                'section'     => 'default',
            ),
        );
    }

    public function settings_page()
    {
        PluginAdmin::render('lic_settings', array('page_slug' => $this->page_slug()));
    }

    public function licFormat($value)
    {
        return true;
        if (preg_match('/[^0-9a-zA-Z_~\-]/', $value))
        {
            return false;
        }
        if (strlen($value) !== 32 && !preg_match('/^\w{8}-\w{4}-\w{4}-\w{4}-\w{12}$/', $value))
        {
            return false;
        }

        return true;
    }

    public function activatingLicense($value)
    {
        return true;
        $response = Plugin::apiRequest(array(
            'method'      => 'POST',
            'timeout'     => 15,
            'httpversion' => '1.0',
            'blocking'    => true,
            'headers'     => array(),
            'body'        => array(
                'cmd' => 'activate',
                'key' => $value,
                'd'   => parse_url(site_url(), PHP_URL_HOST),
                'p'   => Plugin::product_id,
                'v'   => Plugin::version()
            ),
            'cookies'     => array()
        ));
        if (!$response)
        {
            return false;
        }
        $result = json_decode(\wp_remote_retrieve_body($response), true);

        if ($result && !empty($result['status']) && $result['status'] == 'valid')
        {
            return true;
        }
        elseif ($result && !empty($result['status']) && $result['status'] == 'error')
        {
            \add_settings_error('license_key', 'license_key', $result['message']);

            return false;
        }

        return false;
    }

    private function resetLicense()
    {
        if ($GLOBALS['pagenow'] != 'admin.php' || empty($_GET['page']) || $_GET['page'] != 'content-egg-lic')
        {
            return;
        }

        if (isset($_POST['cmd']) && $_POST['cmd'] == 'lic_reset')
        {
            return true;
            if (!\current_user_can('delete_plugins') || empty($_POST['nonce_reset']) || !\wp_verify_nonce(sanitize_key($_POST['nonce_reset']), 'license_reset'))
            {
                \wp_die('You don\'t have access to this page.');
            }

            if (Plugin::isEnvato())
            {
                $redirect_url = \get_admin_url(\get_current_blog_id(), 'admin.php?page=content-egg-lic');
            }
            else
            {
                $redirect_url = \get_admin_url(\get_current_blog_id(), 'plugins.php');
            }

            $response = Plugin::apiRequest(array(
                'method'      => 'POST',
                'timeout'     => 15,
                'httpversion' => '1.0',
                'blocking'    => true,
                'headers'     => array(),
                'body'        => array(
                    'cmd' => 'deactivate',
                    'key' => $this->option('license_key'),
                    'd'   => parse_url(site_url(), PHP_URL_HOST),
                    'p'   => Plugin::product_id,
                    'v'   => Plugin::version()
                ),
                'cookies'     => array()
            ));
            if (!$response)
            {
                $redirect_url = AdminNotice::add2Url($redirect_url, 'license_reset_error', 'error');
            }
            $result = json_decode(\wp_remote_retrieve_body($response), true);

            if ($result && !empty($result['status']) && $result['status'] === 'valid')
            {
                \delete_option(LicConfig::getInstance()->option_name());
                $redirect_url = AdminNotice::add2Url($redirect_url, 'license_reset_success', 'warning');
            }
            else
            {
                $redirect_url = AdminNotice::add2Url($redirect_url, 'license_reset_error', 'error');
            }

            \wp_safe_redirect($redirect_url);
            exit;
        }
    }

    private function refreshLicense()
    {
        if ($GLOBALS['pagenow'] != 'admin.php' || empty($_GET['page']) || $_GET['page'] != 'content-egg-lic')
        {
            return;
        }

        if (isset($_POST['cegg_cmd']) && $_POST['cegg_cmd'] == 'refresh')
        {
            if (!\current_user_can('delete_plugins') || empty($_POST['nonce_refresh']) || !\wp_verify_nonce(sanitize_key($_POST['nonce_refresh']), 'license_refresh'))
            {
                \wp_die('You don\'t have access to this page.');
            }

            LManager::getInstance()->deleteCache();
        }
    }

    public function resetLicInfo()
    {
        LManager::getInstance()->deleteCache();

        return true;
    }
}
 
Last edited:
  • Like
Reactions: Floccer and sigsig
I find solution for that, who need can try:



I solved the problem, it was very simple, I just wasn't paying attention.
The plugin comes with the already broken file, it is missing ";"
I speack about this problem:


Anyone who encounters the problem I encountered, you can replace the file with this fixed one.



You can go in content-egg\application\admin and replace this file LicConfig.php


Code:
<?php

namespace ContentEgg\application\admin;

defined('\ABSPATH') || exit;

use ContentEgg\application\components\Config;
use ContentEgg\application\Plugin;
use ContentEgg\application\components\LManager;

/**
 * LicConfig class file
 *
 * @author keywordrush.com <[email protected]>
 * @link https://www.keywordrush.com
 * @copyright Copyright &copy; 2023 keywordrush.com
 */
class LicConfig extends Config
{

    public function page_slug()
    {
        if ($this->option('license_key') || \get_option(Plugin::slug . '_env_install'))
        {
            return Plugin::slug . '-lic';
        }
        else
        {
            return Plugin::slug;
        }
    }

    public function option_name()
    {
        return Plugin::slug . '_lic';
    }

    public function add_admin_menu()
    {
        $this->resetLicense();
        $this->refreshLicense();
        \add_submenu_page(Plugin::slug, __('License', 'content-egg') . ' &lsaquo; Content Egg', __('License', 'content-egg'), 'manage_options', $this->page_slug(), array(
            $this,
            'settings_page'
        ));
    }

    protected function options()
    {
        return array(
            'license_key' => array(
                'title'       => __('License key', 'content-egg'),
                'description' => __('Please enter your license key.', 'content-egg') . ' ' . sprintf(__('You can find your key on the %s page.', 'content-egg'), '<a href="' . \esc_url(Plugin::panelUri) . '" target="_blank">My Account</a>') . ' ' .
                    sprintf(__("If you don't have one yet, you can buy it from our <a target='_blank' href='%s'>official website</a>.", 'content-egg'), Plugin::pluginSiteUrl()),
                'callback'    => array($this, 'render_input'),
                'default'     => '',
                'validator'   => array(
                    'trim',
                    array(
                        'call'    => array('\ContentEgg\application\helpers\FormValidator', 'required'),
                        'message' => __('The "License key" can not be empty', 'content-egg'),
                    ),
                    array(
                        'call'    => array($this, 'licFormat'),
                        'message' => __('Invalid license key', 'content-egg'),
                    ),
                    array(
                        'call'    => array($this, 'activatingLicense'),
                        'message' =>
                        __('License key is not accepted. Make sure that you use actual key.', 'content-egg') .
                            ' ' .
                            __('If you have correct key, but it\'s not accepted, this means that your server blocks external connections or there is any other reason that your server doesn\'t allow to connect to keywordrush.com site.', 'content-egg') .
                            ' ' .
                            __('Please, write about this to your hosting provider.', 'content-egg') .
                            ' ' .
                            __('If you need our help, write to <a href="http://www.keywordrush.com/en/contact">our support</a>.', 'content-egg'),
                    ),
                    array(
                        'call' => array($this, 'resetLicInfo'),
                    ),
                ),
                'section'     => 'default',
            ),
        );
    }

    public function settings_page()
    {
        PluginAdmin::render('lic_settings', array('page_slug' => $this->page_slug()));
    }

    public function licFormat($value)
    {
        return true;
        if (preg_match('/[^0-9a-zA-Z_~\-]/', $value))
        {
            return false;
        }
        if (strlen($value) !== 32 && !preg_match('/^\w{8}-\w{4}-\w{4}-\w{4}-\w{12}$/', $value))
        {
            return false;
        }

        return true;
    }

    public function activatingLicense($value)
    {
        return true;
        $response = Plugin::apiRequest(array(
            'method'      => 'POST',
            'timeout'     => 15,
            'httpversion' => '1.0',
            'blocking'    => true,
            'headers'     => array(),
            'body'        => array(
                'cmd' => 'activate',
                'key' => $value,
                'd'   => parse_url(site_url(), PHP_URL_HOST),
                'p'   => Plugin::product_id,
                'v'   => Plugin::version()
            ),
            'cookies'     => array()
        ));
        if (!$response)
        {
            return false;
        }
        $result = json_decode(\wp_remote_retrieve_body($response), true);

        if ($result && !empty($result['status']) && $result['status'] == 'valid')
        {
            return true;
        }
        elseif ($result && !empty($result['status']) && $result['status'] == 'error')
        {
            \add_settings_error('license_key', 'license_key', $result['message']);

            return false;
        }

        return false;
    }

    private function resetLicense()
    {
        if ($GLOBALS['pagenow'] != 'admin.php' || empty($_GET['page']) || $_GET['page'] != 'content-egg-lic')
        {
            return;
        }

        if (isset($_POST['cmd']) && $_POST['cmd'] == 'lic_reset')
        {
            return true;
            if (!\current_user_can('delete_plugins') || empty($_POST['nonce_reset']) || !\wp_verify_nonce(sanitize_key($_POST['nonce_reset']), 'license_reset'))
            {
                \wp_die('You don\'t have access to this page.');
            }

            if (Plugin::isEnvato())
            {
                $redirect_url = \get_admin_url(\get_current_blog_id(), 'admin.php?page=content-egg-lic');
            }
            else
            {
                $redirect_url = \get_admin_url(\get_current_blog_id(), 'plugins.php');
            }

            $response = Plugin::apiRequest(array(
                'method'      => 'POST',
                'timeout'     => 15,
                'httpversion' => '1.0',
                'blocking'    => true,
                'headers'     => array(),
                'body'        => array(
                    'cmd' => 'deactivate',
                    'key' => $this->option('license_key'),
                    'd'   => parse_url(site_url(), PHP_URL_HOST),
                    'p'   => Plugin::product_id,
                    'v'   => Plugin::version()
                ),
                'cookies'     => array()
            ));
            if (!$response)
            {
                $redirect_url = AdminNotice::add2Url($redirect_url, 'license_reset_error', 'error');
            }
            $result = json_decode(\wp_remote_retrieve_body($response), true);

            if ($result && !empty($result['status']) && $result['status'] === 'valid')
            {
                \delete_option(LicConfig::getInstance()->option_name());
                $redirect_url = AdminNotice::add2Url($redirect_url, 'license_reset_success', 'warning');
            }
            else
            {
                $redirect_url = AdminNotice::add2Url($redirect_url, 'license_reset_error', 'error');
            }

            \wp_safe_redirect($redirect_url);
            exit;
        }
    }

    private function refreshLicense()
    {
        if ($GLOBALS['pagenow'] != 'admin.php' || empty($_GET['page']) || $_GET['page'] != 'content-egg-lic')
        {
            return;
        }

        if (isset($_POST['cegg_cmd']) && $_POST['cegg_cmd'] == 'refresh')
        {
            if (!\current_user_can('delete_plugins') || empty($_POST['nonce_refresh']) || !\wp_verify_nonce(sanitize_key($_POST['nonce_refresh']), 'license_refresh'))
            {
                \wp_die('You don\'t have access to this page.');
            }

            LManager::getInstance()->deleteCache();
        }
    }

    public function resetLicInfo()
    {
        LManager::getInstance()->deleteCache();

        return true;
    }
}
Nice. Someone should add this to the plugin so that it works smoothly.
 
Does full import work for you? For me does't want to import thath box compare prices on the products...I tried both on localhost and on the normal host.
Hi, I don't know yet for I can't pass the license.
 
Did the module under posts gone missing again? Ugh! I actually tried purchasing from Keywordrush website itself but was rejected because they don't accept payments from Russian/Belarus. At least they could have stated on the site about this. Now my payment is on hold-.-
 
  • Like
Reactions: Judge
AdBlock Detected

We get it, advertisements are annoying!

However in order to keep our huge array of resources free of charge we need to generate income from ads so to use the site you will need to turn off your adblocker.

If you'd like to have an ad free experience you can become a Babiato Lover by donating as little as $5 per month. Click on the Donate menu tab for more info.

I've Disabled AdBlock