Forum Replies Created

Viewing 15 replies - 1 through 15 (of 20 total)
  • Thread Starter markd33

    (@markd33)

    Looks like this has been resolved in version 4.2.4:

    Fixes

    • Ensure the $content param of Beyondwords\Wordpress\Core\Player\Player::hasCustomPlayer is a string before using strpos.
    Thread Starter markd33

    (@markd33)

    It’s not a painful problem because you can just manually place the asset in the folder.

    Thread Starter markd33

    (@markd33)

    Looks like there was a problem with our theme code that cause Yoast to fail with posts.

    function filter_register_post_type_args($args, $post_type){
      if ('post' == $post_type) {
        $args['has_archive'] = true; 
        $args['rewrite'] = array(     'slug' => 'blog',     'with_front' => false    );   	
      }   	return $args; 
    }
    add_filter('register_post_type_args', 'filter_register_post_type_args', 10, 2);

    What’s wrong with the above is that we had altered the default “post” post type to set $args['has_archive'] = true; this broke Yoast’s ability to allow us to edit the archive settings. Our developer had made an error there and we adjusted the code to use native WordPress by removing this line and selecting the post archive using settings -> reading settings posts page and it solved the problem.

    I’m not sure what we did was entirely wrong just probably not best practices. Would be nice if Yoast didn’t crap out though if that mistake was made.

    @tijmensmit our fix looks like the following:

    add_filter('script_loader_tag', 'gmap_scripts_defer', 10, 2);
    function gmap_scripts_defer($tag, $handle)
    {
    	if ($handle === 'wpsl-js') {
    		return str_replace(' src=', ' onload="document.dispatchEvent(new CustomEvent(wpslJsLoaded))" src=', $tag);
    	}
    
    	if ($handle === 'wpsl-gmap') {
    		preg_match('/<script.*?src=["\']+(.*?)["\']+/', $tag, $matches);
    		if (!isset($matches[1]) || empty($matches[1])) {
    			return $tag;
    		}
    
    		$tag = '<script>function initMapsScript(){const src = ' . str_replace('&', '&', $matches[1]) . ';const script = document.createElement(script);script.src = decodeURI(src);document.body.append(script);}
    							if(typeof wpsl === "undefined"){document.addEventListener(wpslJsLoaded, initMapsScript);} else {initMapsScript();}</script>';
    	}
    	return $tag;
    }
    • This reply was modified 1 year, 7 months ago by markd33.
    Thread Starter markd33

    (@markd33)

    I have a quick update. Working on getting a premium license so I can submit an official support request, client sent over the files for premium (still need to get the account access to submit support request) but I installed premium just to test it and it fixed the issue.

    However, the moment I deactivate premium, the issue returns.

    Thread Starter markd33

    (@markd33)

    They finally responded with details on what’s going on. Apparently they changed ecommerce solutions for the website and emailed everyone about needing to upgrade and repurchase license. It can’t be manually upgraded from WordPress if on older version.

    They gave me 100% credit on a new license to cover the cost (since we already recently paid on the old system and will be cancelling our license on the old system. Thank you.

    I worked with my corporate office to get Imperva to disable Minification of code (and clearing of cache).

    That seemed to have resolved the issue. It was altering JavaScript for Yoast somehow causing this issue.

    @mikes41720 I can confirm we tested it happens even after conflict testing. I can also confirm we are using Imperva. I’m working with Corporate to see if they can help.

    Having the same issue. Here’s what’s in the console. Chrome: 90.0.4430.85. Windows 10 latest version. WordPress 5.7.1.

    Uncaught SyntaxError: Invalid or unexpected token
    react-dom.min.js?ver=16.13.1:9 TypeError: Cannot read property 'SnippetEditor' of undefined
        at block-editor-1611.js:1
        at zj (react-dom.min.js?ver=16.13.1:13)
        at Th (react-dom.min.js?ver=16.13.1:10)
        at tj (react-dom.min.js?ver=16.13.1:10)
        at Te (react-dom.min.js?ver=16.13.1:10)
        at react-dom.min.js?ver=16.13.1:7
        at unstable_runWithPriority (react.min.js?ver=16.13.1:2)
        at Da (react-dom.min.js?ver=16.13.1:7)
        at Pg (react-dom.min.js?ver=16.13.1:7)
        at ha (react-dom.min.js?ver=16.13.1:7)
    Me	@	react-dom.min.js?ver=16.13.1:9
    Jh.f.componentDidCatch.c.callback	@	react-dom.min.js?ver=16.13.1:10
    Wg	@	react-dom.min.js?ver=16.13.1:7
    oj	@	react-dom.min.js?ver=16.13.1:9
    Aj	@	react-dom.min.js?ver=16.13.1:11
    unstable_runWithPriority	@	react.min.js?ver=16.13.1:2
    Da	@	react-dom.min.js?ver=16.13.1:7
    ab	@	react-dom.min.js?ver=16.13.1:10
    Te	@	react-dom.min.js?ver=16.13.1:10
    (anonymous)	@	react-dom.min.js?ver=16.13.1:7
    unstable_runWithPriority	@	react.min.js?ver=16.13.1:2
    Da	@	react-dom.min.js?ver=16.13.1:7
    Pg	@	react-dom.min.js?ver=16.13.1:7
    ha	@	react-dom.min.js?ver=16.13.1:7
    Ja	@	react-dom.min.js?ver=16.13.1:13
    ch	@	react-dom.min.js?ver=16.13.1:8
    e	@	data.min.js?ver=9430…126df689839bb96b9:1
    t	@	data.min.js?ver=9430…126df689839bb96b9:1
    (anonymous)	@	data.min.js?ver=9430…126df689839bb96b9:1
    p	@	data.min.js?ver=9430…126df689839bb96b9:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	data.min.js?ver=9430…126df689839bb96b9:1
    (anonymous)	@	data.min.js?ver=9430…126df689839bb96b9:1
    dispatch	@	data.min.js?ver=9430…126df689839bb96b9:1
    n	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    e	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    r.any	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    e	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    Promise.then (async)		
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    e	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    e	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    c	@	redux-routine.min.js…097c6fbe95625e2fb:1
    t	@	redux-routine.min.js…097c6fbe95625e2fb:1
    r.iterator	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    e	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    r.any	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    e	@	redux-routine.min.js…097c6fbe95625e2fb:1
    n	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    e	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    r.any	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    e	@	redux-routine.min.js…097c6fbe95625e2fb:1
    n	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    e	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    c	@	redux-routine.min.js…097c6fbe95625e2fb:1
    t	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	data.min.js?ver=9430…126df689839bb96b9:1
    (anonymous)	@	data.min.js?ver=9430…126df689839bb96b9:1
    (anonymous)	@	data.min.js?ver=9430…126df689839bb96b9:1
    (anonymous)	@	editor.min.js?ver=db…b432a2a5d7898e51d:1
    Bh	@	react-dom.min.js?ver=16.13.1:9
    oj	@	react-dom.min.js?ver=16.13.1:9
    Aj	@	react-dom.min.js?ver=16.13.1:11
    unstable_runWithPriority	@	react.min.js?ver=16.13.1:2
    Da	@	react-dom.min.js?ver=16.13.1:7
    ab	@	react-dom.min.js?ver=16.13.1:10
    Te	@	react-dom.min.js?ver=16.13.1:10
    (anonymous)	@	react-dom.min.js?ver=16.13.1:7
    unstable_runWithPriority	@	react.min.js?ver=16.13.1:2
    Da	@	react-dom.min.js?ver=16.13.1:7
    Pg	@	react-dom.min.js?ver=16.13.1:7
    ha	@	react-dom.min.js?ver=16.13.1:7
    Ja	@	react-dom.min.js?ver=16.13.1:13
    ch	@	react-dom.min.js?ver=16.13.1:8
    e	@	data.min.js?ver=9430…126df689839bb96b9:1
    t	@	data.min.js?ver=9430…126df689839bb96b9:1
    (anonymous)	@	data.min.js?ver=9430…126df689839bb96b9:1
    p	@	data.min.js?ver=9430…126df689839bb96b9:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	data.min.js?ver=9430…126df689839bb96b9:1
    (anonymous)	@	data.min.js?ver=9430…126df689839bb96b9:1
    dispatch	@	data.min.js?ver=9430…126df689839bb96b9:1
    n	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    e	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    Promise.then (async)		
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    e	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    Promise.then (async)		
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    e	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    r.any	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    e	@	redux-routine.min.js…097c6fbe95625e2fb:1
    n	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    e	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    e	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    e	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    r.any	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    e	@	redux-routine.min.js…097c6fbe95625e2fb:1
    n	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    e	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    r.any	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    e	@	redux-routine.min.js…097c6fbe95625e2fb:1
    n	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    e	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    r.any	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    e	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    e	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    c	@	redux-routine.min.js…097c6fbe95625e2fb:1
    t	@	redux-routine.min.js…097c6fbe95625e2fb:1
    r.iterator	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    e	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    c	@	redux-routine.min.js…097c6fbe95625e2fb:1
    t	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	redux-routine.min.js…097c6fbe95625e2fb:1
    (anonymous)	@	data.min.js?ver=9430…126df689839bb96b9:1
    (anonymous)	@	data.min.js?ver=9430…126df689839bb96b9:1
    (anonymous)	@	data.min.js?ver=9430…126df689839bb96b9:1
    tryCatch	@	wp-polyfill.min.js?ver=7.4.4:1
    invoke	@	wp-polyfill.min.js?ver=7.4.4:1
    t.<computed>	@	wp-polyfill.min.js?ver=7.4.4:1
    n	@	data.min.js?ver=9430…126df689839bb96b9:1
    c	@	data.min.js?ver=9430…126df689839bb96b9:1
    (anonymous)	@	data.min.js?ver=9430…126df689839bb96b9:1
    (anonymous)	@	data.min.js?ver=9430…126df689839bb96b9:1
    ne	@	data.min.js?ver=9430…126df689839bb96b9:1
    (anonymous)	@	data.min.js?ver=9430…126df689839bb96b9:1
    tryCatch	@	wp-polyfill.min.js?ver=7.4.4:1
    invoke	@	wp-polyfill.min.js?ver=7.4.4:1
    t.<computed>	@	wp-polyfill.min.js?ver=7.4.4:1
    n	@	data.min.js?ver=9430…126df689839bb96b9:1
    c	@	data.min.js?ver=9430…126df689839bb96b9:1
    (anonymous)	@	data.min.js?ver=9430…126df689839bb96b9:1
    (anonymous)	@	data.min.js?ver=9430…126df689839bb96b9:1
    setTimeout (async)		
    (anonymous)	@	data.min.js?ver=9430…126df689839bb96b9:1
    tryCatch	@	wp-polyfill.min.js?ver=7.4.4:1
    invoke	@	wp-polyfill.min.js?ver=7.4.4:1
    t.<computed>	@	wp-polyfill.min.js?ver=7.4.4:1
    n	@	data.min.js?ver=9430…126df689839bb96b9:1
    c	@	data.min.js?ver=9430…126df689839bb96b9:1
    (anonymous)	@	data.min.js?ver=9430…126df689839bb96b9:1
    (anonymous)	@	data.min.js?ver=9430…126df689839bb96b9:1
    f	@	data.min.js?ver=9430…126df689839bb96b9:1
    s	@	data.min.js?ver=9430…126df689839bb96b9:1
    c	@	data.min.js?ver=9430…126df689839bb96b9:1
    (anonymous)	@	edit-post.min.js?ver…3459a7d6f527e1f90:1
    (anonymous)	@	data.min.js?ver=9430…126df689839bb96b9:1
    s	@	data.min.js?ver=9430…126df689839bb96b9:1
    (anonymous)	@	data.min.js?ver=9430…126df689839bb96b9:1
    (anonymous)	@	data.min.js?ver=9430…126df689839bb96b9:1
    Ge	@	data.min.js?ver=9430…126df689839bb96b9:1
    sr	@	edit-post.min.js?ver…3459a7d6f527e1f90:1
    we	@	react-dom.min.js?ver=16.13.1:8
    zj	@	react-dom.min.js?ver=16.13.1:13
    Th	@	react-dom.min.js?ver=16.13.1:10
    tj	@	react-dom.min.js?ver=16.13.1:10
    Te	@	react-dom.min.js?ver=16.13.1:10
    Ja	@	react-dom.min.js?ver=16.13.1:13
    md	@	react-dom.min.js?ver=16.13.1:12
    (anonymous)	@	react-dom.min.js?ver=16.13.1:12
    Rh	@	react-dom.min.js?ver=16.13.1:10
    nd	@	react-dom.min.js?ver=16.13.1:12
    I.render	@	react-dom.min.js?ver=16.13.1:13
    br	@	edit-post.min.js?ver…3459a7d6f527e1f90:1
    (anonymous)	@	post.php?post=15436&action=edit:334
    • This reply was modified 3 years, 7 months ago by markd33. Reason: added hidden errors
    Thread Starter markd33

    (@markd33)

    Confirmed, and thank you for the quick update.

    Thread Starter markd33

    (@markd33)

    Hi Rene,

    I can confirm that the dev version does indeed solve the issue. Thank you.

    Thread Starter markd33

    (@markd33)

    thanks managed to get through

    Thread Starter markd33

    (@markd33)

    Hi @vicskf, I can confirm that the update did indeed fix the issue. Thanks for the prompt support!

    Thread Starter markd33

    (@markd33)

    Hi @randallscottholbrook, you can rollback by downloading an older version here: https://www.ads-software.com/plugins/the-events-calendar/advanced/. Then upload it to oyur server overwriting the current version. I recommend using an FTP upload for this if possible.

    @jpnl What I mean by false positive is that while there may be differences being recorded, there’s nothing actually wrong. Your site wasn’t maliciously modified and you can safely ignore the warning

    You can find out more information on this here: https://www.wordfence.com/help/scan/options/?utm_source=plugin&utm_medium=pluginUI&utm_campaign=docsIcon#repo-plugin

Viewing 15 replies - 1 through 15 (of 20 total)