WordPress.org

Ready to get started?Download WordPress

Forums

Flexo Archives
[resolved] Flexo Archives 2.1.0 breaks WordPress 3.0.5 (30 posts)

  1. skiddie95
    Member
    Posted 3 years ago #

    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

  2. Heath Harrelson
    Member
    Plugin Author

    Posted 3 years ago #

    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?

  3. skiddie95
    Member
    Posted 3 years ago #

    4.3.10-22

  4. Heath Harrelson
    Member
    Plugin Author

    Posted 3 years ago #

    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.

  5. ellenalexandra
    Member
    Posted 3 years ago #

    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.

  6. Heath Harrelson
    Member
    Plugin Author

    Posted 3 years ago #

    @skiddie95: Would it be possible for you to get and install the development version and tell me if it fixes the issue?

  7. Heath Harrelson
    Member
    Plugin Author

    Posted 3 years ago #

    @skiddie95: Apparently that link isn't working quite yet (still downloads 2.1.0). You'll want to wait a while before trying it.

  8. Heath Harrelson
    Member
    Plugin Author

    Posted 3 years ago #

    @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.

  9. ellenalexandra
    Member
    Posted 3 years ago #

    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.

  10. Heath Harrelson
    Member
    Plugin Author

    Posted 3 years ago #

    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.

  11. skiddie95
    Member
    Posted 3 years ago #

    Heath, I just downloaded it -- is there a way to check the version number before I FTP it into my site?

  12. ellenalexandra
    Member
    Posted 3 years ago #

    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?

  13. ellenalexandra
    Member
    Posted 3 years ago #

    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!

  14. Heath Harrelson
    Member
    Plugin Author

    Posted 3 years ago #

    @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.

  15. kirschbits
    Member
    Posted 3 years ago #

    Hi!

    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!

  16. Heath Harrelson
    Member
    Plugin Author

    Posted 3 years ago #

    @skiddie95: Any update?

  17. Heath Harrelson
    Member
    Plugin Author

    Posted 3 years ago #

    @kirschbits: Flexo Archives doesn't currently support having multiple copies, so what you're seeing is the expected behavior. As it happens, adding multiple widget support is part of fixing the bug pointed out above by ellenalexandra, so you should check version 2.1.2.

  18. kirschbits
    Member
    Posted 3 years ago #

    @Heath: thanks for your quick answer.. though I wonder how was done in that blog where I saw the archives working both in the homepage and in the subpages :-/ ?

    When to expect for version 2.1.2? would love to add this plugin as it is exactly what I wanted...

    Thanks again for the efforts!

  19. skiddie95
    Member
    Posted 3 years ago #

    @Heath, I just uploaded it and it works fine. (Note: I also updated to WP 3.1 and it works there, too.) Thank you!

    You've been very prompt and understanding in supporting this. I've followed the link to donate for the plugin. Is that list completely up to date? If so, I will pick something off it and have it sent to you.

    Thank you,
    skiddie95

  20. Heath Harrelson
    Member
    Plugin Author

    Posted 3 years ago #

    @skiddie95: Thanks for testing that for me. I'll do a release now to undo the PHP4 breakage for everyone.

    The donate page is automatically kept updated by Amazon, so go for it. And thanks!

  21. Heath Harrelson
    Member
    Plugin Author

    Posted 3 years ago #

    @kirschbits: I may have misunderstood your problem. The issue with the plugin is that, if your theme has multiple widget areas, only one of the widget areas can have Flexo Archives on it. This will be fixed in 2.1.2, probably Friday 2/25 or Saturday 2/26.

    However, I don't think there's anything that will stop the widget from being on multiple types of page in a theme, so long as the theme supplies that page with at least one widget area. For instance, the "Twenty Ten" theme displays the widget sidebar for the main page, individual entries, pages, and if you go to a category page like "http://yourblog.com/category/foo". Unless I'm mistaken, whether the widget sidebar or whatever is displayed on a given page type will depend on your theme.

    Does that make sense?

  22. kirschbits
    Member
    Posted 3 years ago #

    Hi Heath, thanks again for your quick response and for hopefully solving the issue so quickly! :D

    about the widget on multiple pages, I didn't quite understand you -sorry, maybe as english is not my mother language-. I'll try to explain quickly my process:

    In my theme, the left and right sidebars, and left-subpage, right-subpage sidebars are split into 3 sections each, all 6 sections are identified in the Widgets page in the admin as:
    Frontpage:

    • "Over left",
    • "left-center",
    • "bottom-left",
    • "Over right",
    • "right-center",
    • "bottom-right",

    Subpages:

    • "Over left subpage",
    • "left-center subpage",
    • "bottom-left subpage",
    • "Over right subpage",
    • "right-center subpage",
    • "bottom-right subpage",

    (Subpages: all posts, pages, archives, search)

    In all of them I can add as many widgets as I want, native to WordPress, to the theme, or by plug-ins (of these I have 2 or 3 more, like "My Catergory Order" plugin that creates a widget, same as "FlexoArchives").

    So, I added "My Category Order" in "Over left", and "Over left subpage", without any problem. Then I added FlexoArchives in "Left-center", and then tried to add it to "Left-center-subpage" and it was gone from the window (or area) "Available Widgets".

    So far has been the only widget with that behavior. I made an extensive search in google, and ended here asking you directly.

    Hope it is clear what I exposed before, and hope it can be solved.

    Thanks again for all your understanding and help to solve the issues and of course your dedication :)

  23. Heath Harrelson
    Member
    Plugin Author

    Posted 3 years ago #

    I understand now. This is the problem that I will fix in 2.1.2 this weekend.

    If you continue to have problems after installing 2.1.2, please start a new thread for it.

  24. kirschbits
    Member
    Posted 3 years ago #

    Thank you so much!! :D

    I hope I won't need to open a new thread ;)

    **waiting anxiously for the weekend** hehe

    thanks again!

  25. Heath Harrelson
    Member
    Plugin Author

    Posted 3 years ago #

    For those waiting on multi-widget support: I've had some trouble implementing this while maintaining backward compatibility. I think I have a solution, but the release of 2.1.2 will be delayed to February 28 or March 1.

  26. kirschbits
    Member
    Posted 3 years ago #

    no prob with the delay for some days... thanks a lot for the efforts!!!! (I see in your donate list you're interested in photography, my hubby is photographer as well and also got his eyes in some of the books you listed -as well as the mac goodies you have there hehe- ;)

  27. Heath Harrelson
    Member
    Plugin Author

    Posted 3 years ago #

    It was pretty painful, but I think I have implemented multi-widget support correctly now. However, I'm concerned that the update might be dangerous. If someone is feeling brave, it would be a big help to me if you downloaded and installed the development version and told me if anything broke.

  28. kirschbits
    Member
    Posted 3 years ago #

    Hi Heath, thanks for that.. i will give it a try in localhost later and let you know..

    so far I needed to upload my new design yesterday, I found an easier way to solve my problem and was tweaking the theme code to load only the 2 files needed for the side bars, repeating the front sidebars in the subpages.. so everything is exactly the same. I guess is what you meant before -thanks a lot for that lightbulb you turned on in my brain haha-

    I will try anyway your new version and will let you know, if all is well that might help many more people :D

    Thanks!!

  29. kirschbits
    Member
    Posted 3 years ago #

    Hi Heath! sorry for the delay in replying.. worked wonders!!! congrats and thanks for all the effort in making even better your plug in...!!

    a good book might be on your way sometime soon :)

    Thanks a lot for your support and work!

  30. Heath Harrelson
    Member
    Plugin Author

    Posted 3 years ago #

    @kirschbits: Thanks for testing!

    Since a couple of users have tested this update without problems, I'm going to go ahead and tag the release. I'll also mark this thread resolved; please open a new thread if there are further issues.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic