• Resolved BackuPs

    (@neo2k23)


    I am getting a error in the js console after closing the Elementor One Message

    Uncaught TypeError: $(…).pointer is not a function

    I had to edit the file editor-one-pointer.php and remove the script to get rid of the error message. Using WP 7.0 Beta


    I remove this code from the file mentioned.

        <script>
            jQuery( document ).ready( function( $ ) {
                setTimeout( function () {
                    function markIntroductionAsViewed( redirectUrl ) {
                        elementorCommon.ajax.addRequest( 'introduction_viewed', {
                            data: {
                                introductionKey: '<?php echo esc_attr( self::CURRENT_POINTER_SLUG ); ?>',
                            },
                            success: function() {
                                if ( redirectUrl ) {
                                    window.location.href = redirectUrl;
                                }
                            }
                        } );
                    }
    
                    $( '<?php echo esc_js( $pointer_element_selector ); ?>' ).pointer( {
                        content: <?php echo wp_json_encode( $pointer_content ); ?>,
                        position: {
                            edge: 'top',
                            align: 'left',
                            at: 'left+20 bottom',
                            my: 'left top'
                        },
                        close: function() {
                            markIntroductionAsViewed();
                        }
                    } ).pointer( 'open' );
    
                    $( document ).on( 'click', '.elementor-editor-one-pointer-got-it', function( e ) {
                        e.preventDefault();
                        markIntroductionAsViewed( '<?php echo esc_url( $got_it_url ); ?>' );
                    } );
                }, 10 );
            } );
        </script>



    Please fix. Thank you

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Milos

    (@miloss84)

    Hi,

    Thank you for you great feedback,

    Since you are an Elementor One user, you can open a support ticket at my.elementor.com ref: https://elementor.com/help/how-to-submit-a-support-ticket/ I’d also suggest you check out Elementor Community Group on Facebook.

    We have created it to connect Elementor users together and share knowledge, Global Elementor Community.

    WordPress.org rules state that commercial products are not supported here.

    Thread Starter BackuPs

    (@neo2k23)

    I am sorry but i am not a elementor one user. I dont even have any idea what elementor ONE means. I am using elementor free and got a message in the top of my admin area about the elementor menu which has been moved. I closed the message and now i get this js error. Anyway i will try and see how i get this in your support forum. Have a good day

    This problem exists in the free version of Elementor and I found it on my sites as well. Please fix this error, do not redirect me to other support or forums, thanks.

    Thread Starter BackuPs

    (@neo2k23)

    @deepwaterpixel. I did not take any further action by contacting them. It happens in 3 websites using the elementor free plugin & wp 7.0 beta or wp 6.9.4. If if i setup a clean new wp website. It starts after closing a popup message about elementor one in the admin area. For now i adjust the file as mentioned before to get rid of the js error. I guess more users with this issue will start reporting this.

    Good, you should not have gone anywhere else — they have an obligation to provide support here in the plugin repository for their free plugin, based on the very policy they so glibly referenced when stating (erroneously and hilariously confidently) that you were an Elementor One user. If they do not wish to provide that support here by incorrectly routing to their support system, well, as taken from the Developer Expectations section of the policy linked above: “Auto-replies and emails that route to a support system are not permitted as they historically prevent humans from addressing emails in a timely fashion.”

    Applicable remedies as detailed by that policy are:

    • disable or remove any plugin from the directory, even for reasons not explicitly covered by the guidelines.
    • remove developer access to a plugin in lieu of a new, active, developer.
    • make changes to a plugin, without developer consent, in the interest of public safety.

    So, WordPress can fix this for us by removing the plugin, removing Elementor’s developer access, or amending the plugin themselves to remove this error.

    Elementor is allowed to promote their paid features, but critically, they are not allowed to degrade the free experience while doing said promotion. The squeaky wheel gets the grease so I made sure to +1 on this and confirm this is a free plugin problem.

    What irritates me the most about this is the immediate assumption that because it was their promotional section causing this issue, that you must be a paid user, based on essentially zero work on their end to make that determination. It’s very concerning and smacks of “just touch the ticket” quantity over quality. I will wax poetic about this every time I see it because it’s a symptom of a much worse state of affairs and that is to monetize to no end.

    Every company can’t have every dollar. If they want to use the plugin repo as a means to get people using the product for free so they’re willing to pay for Pro, then they need to follow the rules like everyone else.

    Thread Starter BackuPs

    (@neo2k23)

    @deepwaterpixel if you have access to your sql database. In the meta data there is a variable called ‘elementor_introduction’ change its value from f.e.

    a:1:{s:27:”ai-get-started-announcement”;b:1;}

    to

    a:2:{s:27:”ai-get-started-announcement”;b:1;s:27:”e-editor-one-notice-pointer”;b:1;}

    Some how the s:27:”e-editor-one-notice-pointer”;b:1; is not added when you click away the message. This way you do not need to edit the file anymore on every elementor update.

    Make sure to increase a1: to a2: or a5: to a6: and add s:27:”e-editor-one-notice-pointer”;b:1; at the end just before the last closing bracket }

    F.e. change

    a:5:{s:27:”ai-get-started-announcement”;b:1;s:7:”exit_to”;b:1;s:34:”ai_promotion_introduction_textarea”;b:1;s:20:”globals_introduction”;b:1;s:28:”yoast-introduction-editor-v2″;b:1;}

    to

    a:6:{s:27:”ai-get-started-announcement”;b:1;s:7:”exit_to”;b:1;s:34:”ai_promotion_introduction_textarea”;b:1;s:20:”globals_introduction”;b:1;s:28:”yoast-introduction-editor-v2″;b:1;s:27:”e-editor-one-notice-pointer”;b:1;}

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

You must be logged in to reply to this topic.