XThreads-MyBB-Plugin
XThreads-MyBB-Plugin copied to clipboard
xt_updatehooks php error
When a guest tries to fill in the threadfields it doesn't work.
And then this php error shows up:
Warning [2] Attempt to modify property 'data' of non-object - Line: 121 - File: inc/xthreads/xt_updatehooks.php PHP 7.2.29-he.0 (Linux)
It looks like something's breaking the posthandler object, possibly another plugin.
Perhaps try doing a search for datahandler_post_validate_thread
across all files in your inc/plugins/ directory to see possible candidates.
So I've done as you advised however none but the xthreads.php had the given datahandler in it.
.<
I have experienced this issue before, but I usually fix it because I'm the one causing it (coding stuff or so), I will try to debug and report if I catch it again.
I have experienced this issue before, but I usually fix it because I'm the one causing it (coding stuff or so), I will try to debug and report if I catch it again.
That would be really kind of you! <3 I can be patient <3 thank you so much for your help!
If you can reproduce this by starting from a new installation of MyBB, post the steps you took to produce the problem. With that, I'll be able to follow along and help find the issue.
I think it has to do with third-party plugins. I use your control_object
function in many of my plugins to hijack core classes. Recently I was updating a bunch of my plugins, that is when I recall noticing such issue. It could be helpful if you post your plugin list @smilexdlolg .
@zingaburga I will try it, however it may take some time <3 to clarify: I will install a new mybb, then one after the other activate the plugins I'm using and see when the error displays again? Should I install your Plugin maybe last?
@Sama34 can post a list sure, however I'm not sure if it'll help to clear the problem...: Hide To Guests (0.3.1) by Mariusz Kujawski Enhanced Account Switcher (2.1.11) by doylecc Einverständnis Nutzungsbedingungen (1.3) by doylecc Away Member List (0.4) by MyBB Romania Away Start Date (1.0) by Amaryllion Cookie Law (1.0.0) by Matt Rogowski DVZ Mentions (1.0.5) by Tomasz 'Devilshakerz' Mlynski Benutzer exportieren (1.0) by MrBrechreiz RPG-Szenen im Benutzer CP (1.4) by Amaryllion Inplaytracker (2.0) by sparks fly markItUp! Editor (1.1) by StefanT ModNotice Plus (1.8) by Prtik (p00lz mod) MyAlerts (2.0.3) by Euan T MyCode: [spoiler] (1.2.1) by Dark Neo Teammitglieder im Header (1.0) by sparks fly Online Today (2.0.3) by Dark Neo Themen/Posts in PDFs umwandeln (1.0) by sparks fly PHP and Template Conditionals (2.1) by ZiNgA BuRgA Warn about new posts (1.0) by Lukasz Tkacz Reservierung (1.0) by risuena RPG-Relations (1.0) by sparks fly Thread Description (1.1) by Starpaul20 Thread prefixes (1.0) by Dark Neo Wer ist wer? (1.1) by Chan (melancholia) Who is away? (1.0) by unknown XThreads (1.68) by ZiNgA BuRgA PluginLibrary (12) by Andreas Klauer
I was expecting you to be using some of my plugins.. :p
I will install a new mybb, then one after the other activate the plugins I'm using and see when the error displays again? Should I install your Plugin maybe last?
Sounds like a plan. I'd install xThreads first if you believe the issue is related directly to this plugin.
From your list I can only recall reading issues with ModNotice Plus (1.8) by Prtik (p00lz mod)
.
Though I suppose you could get rid of it just by using xThreads, along with Thread Description (1.1) by Starpaul20
.
But I'm not saying these are the ones causing this issue.