Block doesn’t show in the block list
-
Hello
Thank you for this great plugin, that I would love to use, but unfortunately after I installed it I can’t find any MSV block in gutenberg editor.
Any idea why does this issue occure ?
Thanks !
Pierre
-
Hello Pierre,
The Block is called ‘Music Sheet Viewer’, not MSV, that’s maybe why you don’t find it..
EtienneHello
No, I don’t have any block called ‘Music Sheet Viewer’ neither.
Hello,
Please check :
– That you use a WordPress version >= 5.0
– That it runs a PHP version >= 5.6.32
– That you use Music Sheet Viewer’s plugin in a version >= 3.1
Create a new page with Block editor, then click ‘+’ to create a block in the page and search ‘Music Sheet Viewer’ in the block search field.
I don’t see any reason why it shouldn’t be found if all these conditions are met.
At last, the 3rd screenshot at the Details tab of the plugin on www.ads-software.com shows the Block name on the right side.
ThanksSame error for me, no Block exist.
Maybe some incompatibility?
I’m sure to had it in a test install, but after a while it disappeared.
I haven’t found any way to make it reappearHello Etienne
I checked the points you mentioned and I confirm that the block doesn’t shows in the blocks list. I tried also with the shortcode but it is not showing either on the page/post.
I also installed abc notation (abcjs) plugin. Could something interfere with it ? But even desactivating abc notation plugin doesn’t solve the problem.
Hello,
I made again some tests on my side with:
– WordPress 5.4.7 and 5.8.1
– Firefox 78.15.0esr (64 bits) & Chrome Version 95.0.4638.69 (Build officiel) (x86_64)
– On new posts & pagesit works : the block is found in the block search field.
What are the versions of these software you use ?
Now, I’d proceed progressively in that order :
1. Check that the plugin is activated
2. Disable all other plugins (incl. Gutenberg plugin: You don’t need that if your WordPress version is > 5.0. It’s included there).
3. Enable debugging on your WordPress instance by adding the following lines to wp-config.php (or overwriting the existing definitions).define( ‘WP_DEBUG’, true);
define( ‘SCRIPT_DEBUG’, true );Send me at [email protected] what you have :
– In the browser console
– In <yoursite>/wp-content/debug.log on the serverCan’t do more for the moment…
Etienne
Hello
Bellow the informations you asked :
– WP version 5.8.1
– Brave v1.31.88 (chromium 95.0.4638.69 (official build) 64bits)
– tested also on firefox 94.0.1 (64 bits) : same issue
– on new posts and pages : idem1. Check that the plugin is activated
–> activated…
2. Disable all other plugins (incl. Gutenberg plugin: You don’t need that if your WordPress version is > 5.0. It’s included there).
–> Tried in debug mode with Health Check & Troubleshooting, with only MSV activated and twentytwentone theme : same issue.
3. Enable debugging on your WordPress instance by adding the following lines to wp-config.php (or overwriting the existing definitions).
–> Nothing is showing in debug mode, at least with twentytwentyone. I have a lot of notices when activating my theme, but still the problem persists with only twentytwentyone + MSV activated.
Wordpress didn’t like at all your linedefine( ‘SCRIPT_DEBUG’, true );
, giving this message :Warning: Use of undefined constant ‘SCRIPT_DEBUG’ - assumed '‘SCRIPT_DEBUG’' (this will throw an Error in a future version of PHP)
. Then the whole backend and frontend would go crazy until I delete this line…Don’t worry if you can’t do more, no problem !
I don’t have total control on this project which is a kind of collaborative one. So I don’t even know on which kind of server/database it’s installed… Maybe the issue comes from this environment. I’ll check that with the guy who installed it in the begining, and I tell you if I found the of this issue.FYI, I tried your plugin on another wordpress instance that I installed myself, and the block was showing, and working…
Hello,
First of all, I’m happy that you have it working on another wordpress instance.
For your other website, what I can see is first of all that the SCRIPT_DEBUG string was surrounded by erroneous quotes. You should have used single quotes (it’s a bad copy from me, though.., or rather a transformation in wordpress forum tiny editor ;-)).
Other thing, I tested that a wrong block registration leads to the block not found in the block search field.
As the block is registered in the PHP code, maybe it’s a trail…As we you didn’t give me the PHP version you use, FYI, on my WordPress 5.4.7 instance, I have PHP 7.2, on my WordPress 5.8.1 I have PHP 7.4.2.
So guaranteed that it works with these PHP versions.
As your version is WordPress 5.8.1 the page https://make.www.ads-software.com/core/handbook/references/php-compatibility-and-wordpress-versions/ indicates a support between PHP 5.6 and 7.4. For 8.0 it’s only beta support. Maybe your version is too old, or too recent…To check..
Thanks
Hello,
Please try with version 3.2.1 that probably fixes the issue.
ThanksWithout any answer, supposedly fixed by version 3.2.1.
@efreja i think it’s the same problem of mine (Mariana’s post).
I made the plugin work after installing Classic Editor +
Enable jQuery Migrate Helper.Does that makes sense to you ?
Getting this error:
jQuery.isFunction() is deprecated
- This reply was modified 2 years, 11 months ago by Marco Floriano.
- This reply was modified 2 years, 11 months ago by Marco Floriano.
Hello Marco,
Indeed I have on my test & production sites the Classic editor installed to test both the plugin with the MSV shortcode and the MSV block.
I’ll try again with the Classic editor deactivated (or uninstalled if it does not make any difference).
PS : Deprecation is not an error normally, I doubt it can be of any issue…
Let me a couple of days to come back to you.
ThanksThanks again @efreja !
Hello Marco,
I deactivated the Classic editor, but it still works fine on my side.
And no need for the jQuery Migrate Helper…
So unless I’m missing something and you cannot bring evidence that something is wrong in MSV plugin, I still consider that version 3.2.1 fixes any problem related to block not appearing in the block search field.
Thanks
- The topic ‘Block doesn’t show in the block list’ is closed to new replies.