We are running PHP Version 5.6.34. We're not running any code protection or restrictions on reflection so far as I know.@releaseWeek What version of php? Are you running any sort of 'code protection' or restrictions on reflection?
We are running PHP Version 5.6.34. We're not running any code protection or restrictions on reflection so far as I know.@releaseWeek What version of php? Are you running any sort of 'code protection' or restrictions on reflection?
Can you open a ticket on https://atelieraphelion.com/ ? I will need to inspect the other add-on's extending the Like handler and see what is happening. This could likely be an add-on conflict.We are running PHP Version 5.6.34. We're not running any code protection or restrictions on reflection so far as I know.
Yes;Is there an equivalent of...
...that applies to a specific rating and not a category?PHP:$post.sv_categorized_ratings.1
Something like...
PHP:$post.sv_rating.1
$post.sv_ratings.1* @property array sv_ratings
* @property int visitor_rating_count
* @property int sv_total_ratings
* @property array sv_categorized_ratings
* @property array sv_sent_ratings
* @property int sv_total_sent_ratings
* @property array sv_categorized_sent_ratings
- For rating type restrictions, Setting "Blacklist by user group" to all no longer sets "Whitelist by user group" to all instead.
I don't have XF1 post ratings. So how can I set up it.
- Import from XF1 Post Ratings
AdminCP -> Content -> Content Ratings -> Add defaults ratingsI don't have XF1 post ratings. So how can I set up it.
Per the description;@Xon Works also for profile post?
Sir there is no option of content ratings in content....AdminCP -> Content -> Content Ratings -> Add defaults ratings
I can't found it. I am using xenforo 2.0.1 while the version of content rating is 1.1.9Ensure your admin user has permission. Also it is AdminCP -> Content -> Content Ratings -> Rating Types -> Add defaults ratings. Should look like this;
View attachment 182884
Nope.@Xon there is a value system for each rating types?
Is your admin user a superadmin? If not you need to be granted the "Manage content ratings" permission.I can't found it. I am using xenforo 2.0.1 while the version of content rating is 1.1.9
Is there any problem???
Sorry sir. Now I got it. ThanksIs your admin user a superadmin? If not you need to be granted the "Manage content ratings" permission.
- Ensure HTML attributes using phrases are escaped properly
ErrorException: Template error: Cannot call method isOnline on a non-object (NULL) src/XF/Template/Templater.php:926
Generated by: Unknown account Sep 7, 2018 at 8:25 PM
Stack trace
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, 'Cannot call met...', '/home/site2...', 926, Array)
#1 src/XF/Template/Templater.php(926): trigger_error('Cannot call met...', 512)
#2 internal_data/code_cache/templates/l1/s33/public/message_macros.php(255): XF\Template\Templater->method(NULL, 'isOnline', Array)
#3 src/XF/Template/Templater.php(662): XF\Template\Templater->{closure}(Object(SV\ContentRatings\XF\Template\Templater), Array, Array)
#4 internal_data/code_cache/templates/l1/s33/public/post_macros.php(54): XF\Template\Templater->callMacro('message_macros', 'user_info', Array, Array)
#5 src/XF/Template/Templater.php(662): XF\Template\Templater->{closure}(Object(SV\ContentRatings\XF\Template\Templater), Array, Array)
#6 internal_data/code_cache/templates/l1/s33/public/thread_view.php(742): XF\Template\Templater->callMacro('post_macros', 'post', Array, Array)
#7 src/XF/Template/Templater.php(1249): XF\Template\Templater->{closure}(Object(SV\ContentRatings\XF\Template\Templater), Array)
#8 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('public:thread_v...', Array)
#9 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#10 src/XF/Mvc/Dispatcher.php(332): XF\Mvc\Renderer\Html->renderView('XF:Thread\\View', 'public:thread_v...', Array)
#11 src/XF/Mvc/Dispatcher.php(303): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#12 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#13 src/XF/App.php(1931): XF\Mvc\Dispatcher->run()
#14 src/XF.php(328): XF\App->run()
#15 index.php(13): XF::runApp('XF\\Pub\\App')
#16 {main}
Request state
array(4) {
["url"] => string(21) "/threads/riddle.2704/"
["referrer"] => bool(false)
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
This is not a Content Rating function. This is a template modification which is blindly callingHi Xon, i have been getting errors for a few weeks now, like heaps a day, i have been updating your each release up to 1.1.10. But errors are still coming, around 200 today. Can i confirm that this error is even Content Ratings related please?
Code:ErrorException: Template error: Cannot call method isOnline on a non-object (NULL) src/XF/Template/Templater.php:926 Generated by: Unknown account Sep 7, 2018 at 8:25 PM
isOnline on an invalid user object.???@Xon
Any guidelines for settling???
Any guidelines? Like How can I create new rating types??? How can I set up???This is not a Content Rating function. This is a template modification which is blindly callingisOnlineon an invalid user object.
While XF does call it inside the message_macros file, it is fairly early. Not towards the end of the file.
???
In the AdminCP; Expand theAny guidelines? Like How can I create new rating types??? How can I set up???
Content category, in the Content Rating select click Rating Types.Rating Types page, there should be an initial "Add Default Rating Types" button as well as an "add rating type" button.Thanks heaps man, it was 1 of 3 things but thanks to you i finally found the issue. Every time a thread is loaded, the server throws the error if a user is a guest within the thread. Cheers mate.This is not a Content Rating function. This is a template modification which is blindly callingisOnlineon an invalid user object.
While XF does call it inside the message_macros file, it is fairly early. Not towards the end of the file.
???
We use essential cookies to make this site work, and optional cookies to enhance your experience.