Support » Plugin: Yoast SEO » Soliloquy slideshows showing zero images still after bug fix update

  • Resolved 3cstudio

    (@3cstudio)


    I see in the Changelog for version 1.5.2.1:

    “Fix issue with Soliloquy image query, as reported by osalcedo and mattisherwood in issue #733 – props Jrf.”

    How do I now get those slideshows to properly populate from the db? All twenty-seven (27!) of them are showing as having zero (0!) images in them… I don’t recall well enough to rebuild those from memory, and they were present at the last site backup.

    Any help would be greatly appreciated as I don’t want to have to manually reset all 27 slideshows.

    S

    https://wordpress.org/plugins/wordpress-seo/

Viewing 15 replies - 1 through 15 (of 23 total)
  • meshmarketer

    (@meshmarketer)

    I’m also having this issue where the slides do not show up in the Soliloquy view and some jerk closed my ticket.

    You have to disable WordPress SEO to get your slides to show up and to add/remove them.

    This is fixed in 1.5.2.1, but I just checked and the fix wasn’t applied to the minified file. I’ve send in a pull request to remedy this. If you (temporarily) set SCRIPT_DEBUG to true, you will already receive the fix.

    Thread Starter 3cstudio

    (@3cstudio)

    @jrf — forgive me for being ignorant — “receive the fix”? For what — the empty slideshows? Thanks in advance for more details… If I don’t have to rebuild-from-scratch 27 slideshows, I’d be more than happy to learn some new tricks. 🙂

    S

    @3cstudio The fix is already included in v1.5.2.1, the only reason it’s not working for you is that there are two versions of every javascript file: a minified version (faster loading, good for production websites) and a normal (readable) version. The fix is included in the non-minified version, but not in the minified version. If you add the below to your wp-config.php file, you are telling WP to use the non-minified version of all javascript files. That way, the file with the fix included will be loaded rather than the minified version.

    define( 'SCRIPT_DEBUG', true );

    Thread Starter 3cstudio

    (@3cstudio)

    Thanks for the clarification, @jrf. I have set wp-config.php to:

    define( 'SCRIPT_DEBUG', true );

    in the past for other sites. In this instance, I see 4-5 lines of Notice: elements in the admin (3 Deprecated alerts, and 2 “Undefined variables”), but don’t see how/where that is helpful to regain my slideshows by activating this non-minified version — they all show as empty still.

    Were there next-steps to the process that I should now be taking?

    S

    Without knowing what the warnings are (including file and line nr) and whether they come from WPSEO, there not much I can tell you.

    Thread Starter 3cstudio

    (@3cstudio)

    Sure. Here they are (minus the account name):

    Notice: load_plugin_textdomain was called with an argument that is deprecated since version 2.7 with no alternative available. in /public_html/wp-includes/functions.php on line 3008
    
    Notice: register_sidebar_widget is deprecated since version 2.8! Use wp_register_sidebar_widget() instead. in /public_html/wp-includes/functions.php on line 2908
    
    Notice: register_widget_control is deprecated since version 2.8! Use wp_register_widget_control() instead. in /public_html/wp-includes/functions.php on line 2908
    
    Notice: Undefined variable: ofw_domain in /public_html/wp-content/plugins/olark-for-wp/olark-for-wp.php on line 224
    
    Notice: Undefined variable: ofw_domain in /public_html/wp-content/plugins/olark-for-wp/olark-for-wp.php on line 224

    @3cstudio, those are PHP notices – while very useful in most cases, not here as the issue is with javascript. None of the PHP notices are related to WPSEO anyway, so that’s good.

    The warnings I’m talking about in this case are the ones in your browser javascript console.

    Thread Starter 3cstudio

    (@3cstudio)

    Oh, pardon – I missed the part about “file and line nr”!

    Does this help? It’s the only Warning I see when viewing Firebug > Script…

    From file: olark > loader0.js — line 26

    l.join(".")+"; path="+d;C();g("value of cookie",r,"was fixed #warn #cookie_needed_cleandomain",M)}catch(p){g(p.message,"#error #cookie_storefail",M)}

    Olark is the chat software plugin. Somehow that doesn’t seem like it is the reason for blocking any Soliloquy images from populating their original slideshows?

    Thanks for continuing to see if you can help me out!

    S

    If it’s still not working with SCRIPT_DEBUG on and no WPSEO related errors show (PHP or js), then I would suggest fixing the ones caused by Olark (both js and PHP) to see if that would happen to help.

    Still not compatible. Are you saying the minified version is the problem?

    Uncaught TypeError: Cannot call method 'keyup' of undefined wp-seo-metabox.min.js?ver=1.5.2.1:1

    @acrane: sort of, the fix is only included in the non-minified version in v1.5.2.1. The minified version will still give the reported error.
    A fix for the minified version has already been merged to the plugin master, so it will be included in the next version. In the mean time setting SCRIPT_DEBUG temporarily to true should give let you use the non-minified (fixed) version already.

    Thread Starter 3cstudio

    (@3cstudio)

    @jrf, I’m not adept at bug-squashing when it comes to scripts, but I fail to see (in that limited knowledge) how fixing the errors will populate the empty (0) slideshows… how does that rectify the errant connections to the database table wp_post?

    S

    I’m not actually familiar with Soliloquy, but from all account they are using ajax/javascript to load some things and if another script on the same page has an error, the Soliloquy script could be blocked. So, the ’empty’ slideshows might not really be empty.

    WPSEO most definitely has not touched any of the Soliloquy settings, so the data should still be there. If it’s not, the only reason I can think of why that could be is if you saved the Soliloquy show while the error prevented the images from being loaded. But then again, why would you have ?

    Thread Starter 3cstudio

    (@3cstudio)

    OK, I’ll connect with a js guru and see what we can see. Thanks @jrf.

    S

Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘Soliloquy slideshows showing zero images still after bug fix update’ is closed to new replies.