@Sybre Waaijer,
Thank you for your post,
We will have a new version up soon, the warning message has been removed on PHP7.
Thanks once again,
Cheers
Adrian
I’m currently evaluating front-end user plugins and I’m getting the same error when using PHP7. This bug was posted over 3 months ago, will it be fixed soon?
@enchiridion,
Thanks for your post.
Actually, we’ve fixed the issue already.
We will re-check that file again, perhaps, we’ve missed something.
There will be a new version within few hours. So.. if we find out something I’m sure the new version will include the fix.
Cheers
I’ve found several other places with (using WP4.5 and PHP7):
- Notice: Undefined variable: box_border in /var/www/site/public/content/plugins/users-ultra/xooclasses/xoo.userultra.photos.php on line 844
- Undefined variable: box_shadow in /var/www/site/public/content/plugins/users-ultra/xooclasses/xoo.userultra.photos.php on line 844
- Notice: Undefined variable: display in /var/www/site/public/content/plugins/users-ultra/xooclasses/xoo.userultra.photos.php on line 844
- Notice: Trying to get property of non-object in /var/www/site/public/content/plugins/users-ultra/xooclasses/xoo.userultra.user.php on line 3284
- Notice: Undefined property: XooPublisher::$act_limits in /var/www/site/public/content/plugins/users-ultra/xooclasses/xoo.userultra.publisher.php on line 340
Perhaps because of this error, clicking the SUBMIT button to create a new post doesn’t do anything.
- Notice: Undefined offset: 550 in /var/www/site/public/content/plugins/users-ultra/xooclasses/xoo.userultra.user.php on line 1601
- Notice: Undefined variable: option in /var/www/site/public/content/plugins/users-ultra/xooclasses/xoo.userultra.user.php on line 1703
I’ve been browsing through the source code and honestly it doesn’t look professional (even if it seems to work fine). Take the errors in xoo.userultra.photos.php and xoo.userultra.class.php for example, those aren’t even PHP7 specific errors but basic programming errors (using a variable you haven’t even created yet). In xoo.userultra.publisher.php the formatting is all over the places, lots of random empty lines, big blocks of whitespace, widely varying levels of indentations for no reason, mixing of tabs and space, lack of useful comments or in-code documentation, typos and a lack of any consistent code styling.
This matters quite a bit to me because if your plugin is chosen to be integrated into our site (using an Ultimate level license), I’ll be hooking and modifying the templates in just about every place to make it blend in seamlessly, which means I’ll be working closely with your code.
The issues above and the lack of defensive/best practices programming make me question if your plugin is actually safe and secure to use. Of the plugins I’ve tried so far I quite liked this one, but the code base needs a major cleanup.
@enchiridion,
Thanks for your reply.
Could you please post your issue on the support forums https://usersultra.com/support/?
This topic is very old and we will be able to exchange private info if you wish on our forums. Many of the issues you’re mentioning can be caused by the PHP editor. It happens sometimes, I’m referring to the indentation issues and blank spaces.
We look forward to hearing from you.
Cheers