Hey @terabyten is this still a problem? I have updated my WP and installed the latest version of Find My Blocks and everything is working correctly.
Yes, same error during activation. Latest WP. No other plugins active.
-
This reply was modified 3 years, 8 months ago by
terabyten.
Eror in
wp_enqueue_style(
'find-my-blocks-style',
plugin_dir_url( __DIR__ ) . 'find-my-blocks.css',
null,
filemtime( plugin_dir_path( __DIR__ ) . 'find-my-blocks.css' ),
);
The problem is the last comma …
-
This reply was modified 3 years, 8 months ago by
terabyten.
I can confirm the error. In PHP 7.3+ a trailing comma in a function call is valid, in PHP versions below that it will throw a syntax error.
As the plugin states that it works with PHP 5.2 and higher, I had the issue that on a site with PHP 7.2 only it got updated but then broke the site.
@kau-boy Thank you for the clarification! @terabyten This should be fixed in 3.5.4