• Hi!

    I am getting ready to release another theme which will be integrated with the plugin,
    but I am seeing an error when the block editor is used.

    Specifically, I installed the included demo content for soccer,
    and when I try to edit the Fixtures & Results page, League Table and Roster page,
    I see the following:
    Failed to initialize plugin: sp_shortcodes_button

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter Carolina Nymark

    (@poena)

    I am using WordPress version 5.2.1 and plugin version Version 2.6.18
    and it makes no different which theme I use.
    Yes the error is even present if I use Rookie.

    Image of the error:

    View post on imgur.com

    Plugin Contributor Savvas

    (@savvasha)

    Hi @poena ,

    If you install Classic Editor and activate it, the error is still there?

    Thanks,
    Savvas

    Thread Starter Carolina Nymark

    (@poena)

    Hi

    No, just tested. Installing the classic editor removes the notice with the error.

    But please understand that as a theme developer in 2019 I can not ask users to install the classic editor (Unless it is for accessibility reasons), because it is very limiting for the rest of the users content.

    Plugin Contributor Savvas

    (@savvasha)

    You are right. Our Developers are trying hard to migrate all shortcodes and metaboxes to Gutenberg. I hope that we will have some good news soon! ??

    Thanks,
    Savvas

    Thread Starter Carolina Nymark

    (@poena)

    Unfortunately I am finding more issues ??
    This is when the result calendar is shown on the front end:

    wp-content/plugins/sportspress/assets/js/jquery.dataTables.min.js?ver=1.10.4

    
    06:35:46.515 jquery.dataTables.min.js?ver=1.10.4:92 Uncaught TypeError: 
    Cannot read property 'mData' of undefined
        at HTMLTableCellElement.<anonymous> (jquery.dataTables.min.js?ver=1.10.4:92)
        at Function.each (jquery.js?ver=1.12.4-wp:2)
        at HTMLTableElement.<anonymous> (jquery.dataTables.min.js?ver=1.10.4:92)
        at Function.each (jquery.js?ver=1.12.4-wp:2)
        at a.fn.init.each (jquery.js?ver=1.12.4-wp:2)
        at a.fn.init.m [as dataTable] (jquery.dataTables.min.js?ver=1.10.4:84)
        at HTMLTableElement.<anonymous> (sportspress.js?ver=2.6.18:92)
        at Function.each (jquery.js?ver=1.12.4-wp:2)
        at a.fn.init.each (jquery.js?ver=1.12.4-wp:2)
        at sportspress.js?ver=2.6.18:85
    (anonymous) @ jquery.dataTables.min.js?ver=1.10.4:92
    each @ jquery.js?ver=1.12.4-wp:2
    (anonymous) @ jquery.dataTables.min.js?ver=1.10.4:92
    each @ jquery.js?ver=1.12.4-wp:2
    each @ jquery.js?ver=1.12.4-wp:2
    m @ jquery.dataTables.min.js?ver=1.10.4:84
    (anonymous) @ sportspress.js?ver=2.6.18:92
    each @ jquery.js?ver=1.12.4-wp:2
    each @ jquery.js?ver=1.12.4-wp:2
    (anonymous) @ sportspress.js?ver=2.6.18:85
    (anonymous) @ sportspress.js?ver=2.6.18:119
    Plugin Contributor Savvas

    (@savvasha)

    Please help me to reproduce that issue. You are installing SportsPress and you import the demo content through SportsPress->Settings? Then what is the exactly code you are using for your Result Calendar?

    Thanks,
    Savvas

    Thread Starter Carolina Nymark

    (@poena)

    Hi
    Yes, specifically I imported the soccer demo content via the plugin setting.

    I did not edit the page, this is the standard calendar page from the demo content: sp_calendar=fixtures-results
    -The “Fixture and results” page that the plugin adds to the main menu.

    Thread Starter Carolina Nymark

    (@poena)

    Let me switch to Rookie and check with that theme

    Thread Starter Carolina Nymark

    (@poena)

    Ok, the error is still there, even with Rookie.

    Plugin Contributor Savvas

    (@savvasha)

    Ok, I found the bug and fixed it with this commit (https://github.com/ThemeBoy/SportsPress/commit/9e69d734b334ae41fac5d977f3731bc58c5539b0). It will be included at the very next update of SportsPress.

    Thanks for feedback!

    Savvas

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Block editor issues’ is closed to new replies.