Not working since WordPress 4.0.1 update
-
Was working well 2 days ago but not anymore since WP 4.0.1. This update also broke my theme, I had a hell of a day…
-
Hi Folks,
Michael, developer of Kimili Flash Embed here. I’ve just dropped version 2.5 of the plugin which strips out the old custom shortcode parsing code I wrote years ago—and which WordPress 4.0.1 finally broke—and replaces it with the official shortcode API. Update your installs and everything should be in good shape again.
All the best –
MichaelHi Kimili
Sorry, but version 2.5 has given me big problems.
Everywhere I’ve used Kimili I get this error code on the pagesNotice: Undefined variable: fvars in /home/www/fcgreve.dk/wp-content/plugins/kimili-flash-embed/kml_flashembed.php on line 340
Notice: Undefined variable: fvars in /home/www/fcgreve.dk/wp-content/plugins/kimili-flash-embed/kml_flashembed.php on line 350
Notice: Undefined variable: fvars in /home/www/fcgreve.dk/wp-content/plugins/kimili-flash-embed/kml_flashembed.php on line 374
Notice: Undefined variable: ret in /home/www/fcgreve.dk/wp-content/plugins/kimili-flash-embed/kml_flashembed.php on line 398Please advice on what to do!
Best!
LarsWow, that’s embarrassing, Lars! I’ve found the problems and just pushed out a patch as the 2.5.1 release. That should fix up those undefined variables issues.
Shit happens ??
Just glad I did not have to guess my way through fvar variables.
All the best!
LarsSorry Kimili, I think something is stilling missing.
2.5.1 does indeed solve the variables issue.
Still in my widgets the flash movie is not showing – instead I get the lines:
id=”fm_Bliv-frivillig_1991187149″
class=”flashmovie”
width=”310″
height=”171″>I’ve not changed anything in my code….
Have you changed anything in terms of the syntax we are supposed to use – or?Lars –
While I didn’t change any requirements about the shortcode syntax, I had to change how they are getting parsed. I had a custom parser in there for a very long time, and I’ve now switched to using the official WordPress Shortcode API. Doing that actually broke support for the syntax I recommended in the very earliest versions of the plugin, where shortcodes were indicated with angle brackets (
<kml_flashembed ... >
) instead of the official square bracket style ([kml_flashembed ... ]
). My custom parser handled both cases, but unfortunately, I don’t think there’s any way to maintain the old angle bracket syntax using the official shortcode APIThe
>
at the end of your code snippet makes me think that maybe you’re using the old angle bracket syntax? If so, can you find any instances of the shortcode on your site that use that and change it to use square brackets?I’ve writen the short code like this using the square brackets all along.
[kml_flashembed movie=”/xxxxx/wp-content/uploads/2014/06/Bliv-frivillig.swf” height=”171″ width=”310″ /]It is in a widget in the Weaver II Pro theme.
This code was not changed. Still the problem described above turned up when updating to 2.5. And it puzzles me as it seems to be fully in line with the standard syntax.
Could it be that somehow neither 2.5 nor 2.5.1 is in tune with widgets in my theme?
As for my previous post… Everything works just fine in my header. Problem only occurs in widgets.
Just adding
<!–
to the beginning in text view worked! (Don’t bother with the –>)can someone please post sample code of the temporary solution. we have tried multiple variations of all the posted comments and nothing has worked so far. thanks.
Hi Folks,
I know some of you have been having issues with the new versions of the plugin not playing SWF files in some locations, like on the headers or in widgets. The recent updates fixed some issues with with how the shortcodes were being interpreted by WordPress, but in doing so, those changes killed the ability for the plugin to parse shortcodes which are outside of a post.
I know what I need to do to fix it, but I don’t have the time to do so until the end of April at the earliest. In the meantime, if you’re having trouble you can try rolling back to the last version of the plugin that supported that full-page shortcode parsing. That was version 2.4.1 and you can download it here and install it manually.
Thank you, Michael. I downloaded the previous version and my Flash banner works again. I hope you have time in the near future to fix the issues you describe. It’s a great, little plugin you’ve designed that many of us find useful. Again, many thanks for your efforts and taking the time to address our problems.
Hi, have just downloaded Kimili. When I use the plugin to embed the swf, it only turns up a white space. Am using normal code to embed the movie but it doesn’t call on the XML file. All WP forums I’d googled wrt swf files calling on external XML files said to use Kimili but I can’t get Kimili to even show the swf file properly.
https://www.urbanenomads.com/fortune-sticks-where-should-i-go/without Kimili flash embed as I don’t want the white space. Why isn’t the XML file loading? The XML file is in the root directory of the site, I believe, the same place where index.php is located..
- The topic ‘Not working since WordPress 4.0.1 update’ is closed to new replies.