Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • We are using WP Rocket on 1and1 and the bug happened after an automatic plugin update.
    PHP 7.4.33

    this function is the one affected:

        public function plugins_loaded() {
            // Initialize Telemetry.
            $container = new Container();
            Config::set_hook_prefix( 'rcp' );
            Config::set_stellar_slug( 'restrict-content' );
            if ( defined('TELEMETRY_SERVER') ) {
                Config::set_server_url( TELEMETRY_SERVER );
            }
            else {
                Config::set_server_url( 'https://telemetry.stellarwp.com/api/v1' );
            }
            Config::set_container( $container );
            Telemetry::instance()->init( __FILE__ );
    
            $rcp_telemetry = new RCP_Telemetry();
            $rcp_telemetry->init();
        }

    Line 130:

    $rcp_telemetry = new RCP_Telemetry();

    Uncaught Error: Class ‘RCP_Telemetry’ not found

    Edit:
    Reinstalling doesn’t solve the problem. I got it working again by commenting out lines 130 and 131.

    • This reply was modified 1 year, 8 months ago by asaynisch.

    I had a similar problem with a not upshowing flexslider (it list elements were display:none) and was able to trace it back to the activello/assets/js/functions.min.js script.

    Aside that $( window ).load(function() { being deprecated in jQuery 3, it didn’t always seem to trigger on my site. Therefore, I simply removed it.

    You could have the same Problem.

    This is now the part with the Slider functions which is working for me:

    // Slider functions
    // Can also be used with $(document).ready()
    jQuery(document).ready(function($) {
        if (0 !== $('.flexslider').length) {
            $('.flexslider').flexslider({
                animation: 'fade',
                easing: 'swing',
                direction: 'horizontal',
                reverse: false,
                animationLoop: true,
                smoothHeight: true,
                startAt: 0,
                slideshow: true,
                slideshowSpeed: 7000,
                animationSpeed: 600,
                initDelay: 0,
                randomize: false,
                fadeFirstSlide: true,
                pauseOnAction: true,
                pauseOnHover: false,
                pauseInvisible: true,
                useCSS: true,
                touch: true,
                directionNav: true,
                prevText: '',
                nextText: ''
    
            });
        }
    });
    Thread Starter asaynisch

    (@asaynisch)

    Thanks for your quick response. I feared that this is Not so easy to solve.

    It’s the normal WordPress Menu which is customizable in the Appearance-Tab, But I’m not Sure if this behaviour is Not because of the theme. I found The mentioned code snippet inline in my Website, so I thought its a native WordPress function.

    The only Plugin I use for the navbar is one which makes it sticky and add Some nice Animations. I already made Sure that this doesn‘t interfere with your Plugin.

    Thread Starter asaynisch

    (@asaynisch)

    Hi @mihche,

    after some time,Formidable has implemented invisible reCaptcha, but now it is still not working. The Developers from Formidable thinks, that the problem is that both plugins are using the same functions, so scripts may be loading twice on each page.

    I’m using the same API Keys for both plugins. Do you have any fix or workaround for this Problem?

    ~Alex

Viewing 5 replies - 1 through 5 (of 5 total)