Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter rminsk

    (@rminsk)

    Just noticed your response. The hide related videos was the problem. Thank you.

    Thread Starter rminsk

    (@rminsk)

    I ended up doing this.

    <script type="text/javascript">
      function playTrack(track, offset=0) {
        var player = Object.values(window._EPYT_.apiVideos)[0];
        if (player.getPlaylistIndex() != track || player.getPlayerState() != 1) {
            player.playVideoAt(track);
        }
        if (offset) {
          player.seekTo(offset, true);
        }    
        return false;
      }
    </script>
    [proxy_fcgi:error] [pid 1622:tid 139714987415296] [client 71.93.203.201:46996] AH01071: Got error 'PHP message: PHP Fatal erro
    r:  Uncaught Error: Call to a member function is_main_query() on null in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/theme-my-login/includes/class-th
    eme-my-login.php:264\nStack trace:\n#0 /opt/bitnami/apps/wordpress/htdocs/wp-includes/class-wp-hook.php(298): Theme_My_Login->pre_get_posts(Object(WP_Query))\n
    #1 /opt/bitnami/apps/wordpress/htdocs/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(Object(WP_Query), Array)\n#2 /opt/bitnami/apps/wordpress/htdoc
    s/wp-includes/plugin.php(515): WP_Hook->do_action(Array)\n#3 /opt/bitnami/apps/wordpress/htdocs/wp-includes/class-wp-query.php(1681): do_action_ref_array('pre_
    get_posts', Array)\n#4 /opt/bitnami/apps/wordpress/htdocs/wp-includes/class-wp-query.php(3238): WP_Query->get_posts()\n#5 /opt/bitnami/apps/wordpress/htdocs/wp
    -includes/class-wp.php(617): WP_Query->query(Array)\n#6 /opt/bitnami/apps/wordpress/htdocs/wp-includes/class-wp.php(735): WP->query_posts()\n#7 /opt/bitnami/ap
    ps/wordpress/htdocs/wp-includes/functions.php(95...\n'
Viewing 3 replies - 1 through 3 (of 3 total)