Title: Block editor issues
Last modified: June 15, 2019

---

# Block editor issues

 *  Resolved [Carolina Nymark](https://wordpress.org/support/users/poena/)
 * (@poena)
 * [7 years ago](https://wordpress.org/support/topic/block-editor-issues/)
 * 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](https://wordpress.org/support/users/poena/)
 * (@poena)
 * [7 years ago](https://wordpress.org/support/topic/block-editor-issues/#post-11640127)
 * 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](https://imgur.com/nMLLSNZ)
 *  Plugin Contributor [Savvas](https://wordpress.org/support/users/savvasha/)
 * (@savvasha)
 * [7 years ago](https://wordpress.org/support/topic/block-editor-issues/#post-11640140)
 * Hi [@poena](https://wordpress.org/support/users/poena/) ,
 * If you install [Classic Editor](https://wordpress.org/plugins/classic-editor/)
   and activate it, the error is still there?
 * Thanks,
    Savvas
 *  Thread Starter [Carolina Nymark](https://wordpress.org/support/users/poena/)
 * (@poena)
 * [7 years ago](https://wordpress.org/support/topic/block-editor-issues/#post-11640144)
 * 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](https://wordpress.org/support/users/savvasha/)
 * (@savvasha)
 * [7 years ago](https://wordpress.org/support/topic/block-editor-issues/#post-11640147)
 * 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](https://wordpress.org/support/users/poena/)
 * (@poena)
 * [7 years ago](https://wordpress.org/support/topic/block-editor-issues/#post-11640159)
 * 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](https://wordpress.org/support/users/savvasha/)
 * (@savvasha)
 * [7 years ago](https://wordpress.org/support/topic/block-editor-issues/#post-11640160)
 * 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](https://wordpress.org/support/users/poena/)
 * (@poena)
 * [7 years ago](https://wordpress.org/support/topic/block-editor-issues/#post-11640162)
 * 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](https://wordpress.org/support/users/poena/)
 * (@poena)
 * [7 years ago](https://wordpress.org/support/topic/block-editor-issues/#post-11640164)
 * Let me switch to Rookie and check with that theme
 *  Thread Starter [Carolina Nymark](https://wordpress.org/support/users/poena/)
 * (@poena)
 * [7 years ago](https://wordpress.org/support/topic/block-editor-issues/#post-11640166)
 * Ok, the error is still there, even with Rookie.
 *  Plugin Contributor [Savvas](https://wordpress.org/support/users/savvasha/)
 * (@savvasha)
 * [7 years ago](https://wordpress.org/support/topic/block-editor-issues/#post-11640223)
 * Ok, I found the bug and fixed it with this commit ([https://github.com/ThemeBoy/SportsPress/commit/9e69d734b334ae41fac5d977f3731bc58c5539b0](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.

 * ![](https://ps.w.org/sportspress/assets/icon-256x256.png?rev=1252005)
 * [SportsPress - Sports Club & League Manager](https://wordpress.org/plugins/sportspress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sportspress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sportspress/)
 * [Active Topics](https://wordpress.org/support/plugin/sportspress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sportspress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sportspress/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [Savvas](https://wordpress.org/support/users/savvasha/)
 * Last activity: [7 years ago](https://wordpress.org/support/topic/block-editor-issues/#post-11640223)
 * Status: resolved