After updating to Flexo Archives 2.1.0 in my WordPress 3.0.5, I am unable to get to the admin screen. All I get is:
Parse error: parse error, unexpected T_CONST, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /home/f/e/2/21527/21527/public_html/wp-content/plugins/flexo-archives-widget/flexo_archives_widget.php on line 35
Hi, I’m the author of the plugin.
I tested 2.1.0 on WordPress 3.0.5 without problems, so I think this is your PHP runtime. Which version of PHP is your site using?
That’s what I thought. I’m sorry I temporarily broke your WordPress. I’ll work up a fix that works in PHP4 and post it shortly.
I don’t know if this is related to the same problem as I am having, but I am using the same version of WordPress (just installed in the last half hour or so). I can’t drag any of my widgets in the widget area. If I click “add” on the flexo archives widget and then choose the position of the widget and press “save widget”, I get the following WordPress Error Notice: “Are you sure you want to do this? Please try again.” I don’t know how to check the php version, though.
@skiddie95: Apparently that link isn’t working quite yet (still downloads 2.1.0). You’ll want to wait a while before trying it.
@ellenalexandra: My initial impression is that your problem isn’t related. If you were using PHP4, your WordPress would be completely broken. You wouldn’t even be able to load the dashboard.
That being said, what screen are you on when where you’re clicking “add?” I don’t see that anywhere on the widgets.php page. It might also be helpful to know what theme you’re using.
I am on the widgets page (under appearance menu) when I click ‘add’. The word ‘add’ is shown on each widget bar (that I think are normally draggable) under the available widgets. I would send you a screen shot, but I can’t post a picture in the forums, can I? I am using the Twenty Ten (1.1) theme.
I see now. You have accessibility mode enabled, and apparently the widget doesn’t play nice with it. If you can disable accessibility mode, you will be able to work around the problem using drag and drop. I will find a fix for this issue as well and add it to the 2.1.1 update.
Heath, I just downloaded it — is there a way to check the version number before I FTP it into my site?
Oh, wait, that worked! I am not sure why I had that enabled… I’m not even sure what that is. I think the widget is working now, but it has little square bullets next to each year instead of the little arrows. Is that how it’s supposed to look?
I just realized, I’m guessing that has to do with my theme (as opposed to the widget) since the square bullets are also next to my categories… Let me know if I am wrong on this, but otherwise, thanks so much for all your help!
@skiddie95: The version number can be found near the top of flexo_archives_widget.php when opened with a text editor. Thanks for your help testing this.
@ellenalexandra: You’re correct, the shape of the bullets is determined by the stylesheet of your theme. I’ll work up a permanent fix for the problem with accessibility mode for version 2.1.2 so other users to run into the same problem.
I just installed this plugin in my local test blog (redesigning it at the moment).. and I found one issue.
I don’t know if this plug in was created like this or if its a problem in my template (hope not!)
the thing is that I added the widget to the side bar in the front page, as I would add any other widget. But as I add it to the sidebar, Flexo Archives one disappears from the Available Widgets area.. so there is no way I can add it in the subpages as I need to.
I searched for other plugins, but this one is the best, no doubt about it, when displaying archives in a nice designed way. Totally love it and want to be able to use it in both index and inside pages..
I found a blog where they recommend it, and they’re using it and displays good both in index and subpages.
and I can’t use the standalone version because I need to add it as widget in the sidebars -been struggling enough with the code in this template to show the sidebars as I need to-
Is there a way to help me with this issue?
thanks for creating it, thanks for the help!
- The topic ‘Flexo Archives 2.1.0 breaks WordPress 3.0.5’ is closed to new replies.