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

Warning from oik-types.php line 542 #29

Open
bobbingwide opened this issue Dec 2, 2023 · 2 comments
Open

Warning from oik-types.php line 542 #29

bobbingwide opened this issue Dec 2, 2023 · 2 comments
Assignees
Labels

Comments

@bobbingwide
Copy link
Owner

This message has been logged quite a few times in php_errorlog on bobbingwide.com since the start of the log ( April 2021 ).

PHP Warning: First parameter must either be an object or the name of an existing class in /home/customer/www/bobbingwide.com/public_html/wp-content/plugins/oik-types/oik-types.php on line 542

@bobbingwide bobbingwide added the bug label Dec 2, 2023
@bobbingwide bobbingwide self-assigned this Dec 2, 2023
@bobbingwide
Copy link
Owner Author

Also appears in herbmiller.me

@bobbingwide
Copy link
Owner Author

bobbingwide commented Nov 26, 2024

Having written a routine called clog.php I noticed this message appearing many times in the
debug log for oik-plugins.com

45 PHP Warning: First parameter must either be an object or the name of an existing class in oik-plugins.com@plugins/oik-types/oik-types.php on line 570
179 PHP Warning: First parameter must either be an object or the name of an existing class in oik-plugins.com@plugins/oik-types/oik-types.php on line 573
840 PHP Warning: First parameter must either be an object or the name of an existing class in oik-plugins.com@plugins/oik-types/oik-types.php on line 572

It would appear that $post_type_object is null... but I don't know why.
Need to find the last message and see if there's a daily trace summary record that matches it.

It happened again today. The request was from a bot.
I reproduced it locally with:

http://s.b/oikcom/letters/s/?post_type%5B0%5D=post

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

No branches or pull requests

1 participant