Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xt_updatehooks php error #24

Open
smilexdlolg opened this issue Apr 30, 2020 · 8 comments
Open

xt_updatehooks php error #24

smilexdlolg opened this issue Apr 30, 2020 · 8 comments

Comments

@smilexdlolg
Copy link

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)
fehler

@zingaburga
Copy link
Owner

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.

@smilexdlolg
Copy link
Author

So I've done as you advised however none but the xthreads.php had the given datahandler in it.

.<

@Sama34
Copy link

Sama34 commented May 7, 2020

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.

@smilexdlolg
Copy link
Author

smilexdlolg commented May 11, 2020

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!

@zingaburga
Copy link
Owner

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.

@Sama34
Copy link

Sama34 commented May 13, 2020

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 .

@smilexdlolg
Copy link
Author

@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

@Sama34
Copy link

Sama34 commented May 14, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants