[TaylorJ] Blogs

[TaylorJ] Blogs 1.6.2

No permission to download
this update completely crashed my forum when attempting to upgrade from 1.6.1 to 1.6.2 - i also observe that the .zip is much larger here..
1776751355517.webp

looking at the error logs - it seems to be an incompatibility introduced in 1.6.2 with another addon - ThemeHouse's 'Donate' addon
Fatal Error: Declaration of ThemeHouse\Donate\XF\Entity\User::getStructure(XF\Mvc\Entity\Structure $structure) must be compatible with TaylorJ\Blogs\XF\Entity\User::getStructure(XF\Mvc\Entity\Structure $structure): XF\Mvc\Entity\Structure
 
Hello,

I found a bug! When you create a blog post, you can add images, and they display properly. However, if you try to edit the blog post and upload new images, the system shows them, but after saving, only the “Attach Image” button remains—the images are no longer visible! If you click “Attach,” you get the message: “You do not have permission!”
 
this update completely crashed my forum when attempting to upgrade from 1.6.1 to 1.6.2 - i also observe that the .zip is much larger here..
View attachment 336561

looking at the error logs - it seems to be an incompatibility introduced in 1.6.2 with another addon - ThemeHouse's 'Donate' addon
Fatal Error: Declaration of ThemeHouse\Donate\XF\Entity\User::getStructure(XF\Mvc\Entity\Structure $structure) must be compatible with TaylorJ\Blogs\XF\Entity\User::getStructure(XF\Mvc\Entity\Structure $structure): XF\Mvc\Entity\Structure
Will have a fix out for that tonight.

If you can't wait until then, I would suggest making an edit to TaylorJ\Blogs\XF\Entity\User.php on line 22 from:
PHP:
    public static function getStructure(Structure $structure): Structure
    {
        $structure = parent::getStructure($structure);

        return $structure;
    }

to:

PHP:
    public static function getStructure(Structure $structure)
    {
        $structure = parent::getStructure($structure);

        return $structure;
    }
 
Hello,

I found a bug! When you create a blog post, you can add images, and they display properly. However, if you try to edit the blog post and upload new images, the system shows them, but after saving, only the “Attach Image” button remains—the images are no longer visible! If you click “Attach,” you get the message: “You do not have permission!”
Will try to re-produce this tonight. Won't be included with the above's fix but should be soon.
 
Back
Top Bottom