WordPress.org

Forums

WP Tiles
[resolved] 1.0 Fatal error: Class 'WPTiles\WPTiles\WPTiles' (6 posts)

  1. airali
    Member
    Posted 1 year ago #

    I tried to install 1.0 beta version of WP-Tiles. Installation is successful, but activation returns the following error:

    Fatal error: Class 'WPTiles\WPTiles\WPTiles' not found in /web/htdocs/www.albertodolfi.com/home/wp-content/plugins/wp-tiles/src/WPTiles/Legacy.php on line 126

    I point out that just before 1.0 I had installed the stable version, but as soon as I noticed that a beta version was available I deactivated the old one, then I uninstalled it and only afterwards I tried to install the beta version.

    I have also just updated PHP version to 5.3.28.

    https://wordpress.org/plugins/wp-tiles/

  2. Mike Martel
    Member
    Plugin Author

    Posted 1 year ago #

    Hi airali,

    Thanks for letting me know! You stumbled on a bug in the code that handles compatibility between the old version and the new version. That was exactly the stuff that needed public testing.

    This bug is now fixed in trunk here.

    Thanks for testing the new version :) Let me know if there's anything else you run in to!

    Mike

  3. Mike Martel
    Member
    Plugin Author

    Posted 1 year ago #

    Hi airali,

    I made a mistake uploading the fix the other day. The bug was still there. I just uploaded a new version (here again) that takes care of it.

    Cheers,
    Mike

  4. airali
    Member
    Posted 1 year ago #

    Thank you for the quick fix. I am glad to help this project, I managed to try the new version and, at a first look, it seems a great improvement.

  5. airali
    Member
    Posted 1 year ago #

    I noticed something else. Probably it was my mistake.
    I had set a category and named it "Projects and Partnerships" but its abbreviation (the lower-case, letters/numbers only name) was "projects".

    I found out that posts from that category were not retrieved by wp-tiles until I changed abbreviation to "projects-and-partnerships".

    I guess it is not a good practice to set those names differently, so probably it was my mistake, however I posted it, should this error occur to anyone else.

  6. Mike Martel
    Member
    Plugin Author

    Posted 12 months ago #

    Hi airali, I'm happy you like the new version!

    WP Tiles uses the category_name parameter in WP_Query to fetch posts by category. This should use the category slug; see the Codex.

    Is this not what's happening? I'd be interested to find out why..

    Let me know if you have any other feedback! :)

    Mike

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Tiles
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic