Genesis - Open Source Style Framework

Genesis - Open Source Style Framework 1.0.0 Beta 1

No permission to download
Could you please try replacing line 7+8 of library/Waindigo/LastPostAvatar/Listener/ControllerPreDispatch.php
PHP:
        if (is_a(self::$_controller, 'XenForo_ControllerPublic_Index')
            || (is_a(self::$_controller, 'XenForo_ControllerPublic_Forum'))
with:
PHP:
        if (self::$_controller instanceof XenForo_ControllerPublic_Index
            || (self::$_controller instanceof XenForo_ControllerPublic_Forum)
?

Also, do you know which version of PHP you are using?
 
Could you please try replacing line 7+8 of library/Waindigo/LastPostAvatar/Listener/ControllerPreDispatch.php
PHP:
        if (is_a(self::$_controller, 'XenForo_ControllerPublic_Index')
            || (is_a(self::$_controller, 'XenForo_ControllerPublic_Forum'))
with:
PHP:
        if (self::$_controller instanceof XenForo_ControllerPublic_Index
            || (self::$_controller instanceof XenForo_ControllerPublic_Forum)
?

Also, do you know which version of PHP you are using?
Im using,..
PHP Version 5.2.17


:(
 
You can also disable all add-ons by adding this line to the library/config.php file:
PHP:
$config['enableListeners'] = 0;
 
No my site is in the middle of a backup restore. Not touching it till support is finished. Might be a few hours.
In future, you can usually fix issues by disabling all add-ons using the code I posted above:
You can also disable all add-ons by adding this line to the library/config.php file:
PHP:
$config['enableListeners'] = 0;

It is very rare that you should need to restore from a backup.

Sorry for the inconvenience.
 
Could you please try replacing line 7+8 of library/Waindigo/LastPostAvatar/Listener/ControllerPreDispatch.php
PHP:
        if (is_a(self::$_controller, 'XenForo_ControllerPublic_Index')
            || (is_a(self::$_controller, 'XenForo_ControllerPublic_Forum'))
with:
PHP:
        if (self::$_controller instanceof XenForo_ControllerPublic_Index
            || (self::$_controller instanceof XenForo_ControllerPublic_Forum)
?

Also, do you know which version of PHP you are using?
It works fine.
Im using PHP 5.2.17 too.
 
Looks like that fixed it. Should I upgrade to the b version hotfix you just added or is that the same file edit I just made?
 
Happened to me too,
To regain my site, i simply removed the uploaded files, and thankfully, got my site back.

here is what in my server log.

error.webp
 
I think this might be a bug in XenForo actually.

To workaround, in library/Waindigo/LastPostAvatar/Listener/TemplatePostRender.php, replace line 54:
PHP:
$pattern = '#(<div class="nodeLastPost secondaryContent">)([^:]*:)(\s*<a[^>]*>)[^<]*(</a>.*</div>)#Us';
with:
PHP:
$pattern = '#(<div class="nodeLastPost(?: secondaryContent)?">)([^:]*:)(\s*<a[^>]*>)[^<]*(</a>.*</div>)#Us';
 
Back
Top Bottom