FlyerTalk Forums

FlyerTalk Forums (https://www.flyertalk.com/forum/index.php)
-   Technical Support and Feedback (https://www.flyertalk.com/forum/technical-support-feedback-386/)
-   -   Consolidated "php errors, bugs, problem, etc." thread (https://www.flyertalk.com/forum/technical-support-feedback/2102327-consolidated-php-errors-bugs-problem-etc-thread.html)

Zorak Nov 28, 2022 1:57 pm

I saw two messages earlier that I think are new to me (could be wrong though)

Had just finished composing a reply and clicked submit and got


TypeError: explode(): Argument #2 ($string) must be of type string, array given in ..../products/hotel- reviews/lib/class_hotel_reviews.php on line 470
which is peculiar among other reasons because the thread was https://www.flyertalk.com/forum/chas...-benefits.html which is not a hotel review thread.

attempting to go back to the thread to try again resulted at first in a CloudFlare error, then our old friend the database error (the one that has happened a lot in the past), then finally


Error: Undefined constant "posts" in ..../includes/class_dm_threadpost.php(1653) eval()'d code on line 36
Opera, Android, mobile skin, and I did not bother with the rest because the site had literally just a second ago been working fine and suddenly started throwing these errors without my having changed anything. So I can't swear it isn't specific to mobile skin, or having blocking on, etc. but this has all the hallmarks of a bad code update*. This was shortly after 5pm Central European Time (GMT+1) according to my screenshots and texts to other FTers to see if it was just me. It resolved itself for me maybe 10 minutes later (code rolled back?)

*EDIT: I missed the "8" of the "PHP 8" in the title and only realized it after a mention of the PHP upgrade in the Oct 24th thread. So this certainly explains the triggering event, although as usual one wishes this could have been tried out on a beta site first to work out the kinks before unleashing it in production.

Zorak Nov 28, 2022 2:00 pm

addendum: while composing the above post, I noticed that my editor had been reset to the basic editor (which I certainly did not do on my own, my usual setting is the full whatever editor that is the other option in that dropdown menu) which I'm guessing is also related to today's shenanigans

EDIflyer Nov 28, 2022 2:43 pm

So I've been getting the error "ArgumentCountError: 7 arguments are required, 6 given in ..../includes/functions.php on line 3127" all day on the thread https://www.flyertalk.com/forum/brit...ravels-39.html - I can still access some other threads and fora OK but can't get onto that one. Have tried clearing cookies to no avail but if I try and open via Incognito it opens OK so it just seems to be when logged in that there's a bug?

moondog Nov 28, 2022 2:53 pm

This is a brand new error that I've been receiving anytime I click on "go to unread", "go to last", or select the last page manually (e.g. enter 99 in a 99 page thread).

ArgumentCountError: 5 arguments are required, 4 given in ..../includes/functions.php on line 3127

csufabel Nov 28, 2022 3:20 pm

I'm getting it on just one thread.
"ArgumentCountError: 5 arguments are required, 4 given in ..../includes/functions.php on line 3127"

https://www.flyertalk.com/forum/omni...ll-thread.html



Desktop or mobile? Mobile
Reproduced in multiple browsers? Which do/don’t work (we at least need to know the initial browser)? Firefox on Android tablet and Android phone
Reproduced on incognito mode/private window? No
When did this problem start? Approximately, 11:00 AM

EDIflyer Nov 28, 2022 3:29 pm

Hmm for some reason my 2nd post on the the thread seems to have been removed, but I was pointing out there are some issues with 'Post Quick Reply' appearing to hang (despite working in the background).


https://cimg7.ibsrv.net/gimg/www.fly...d5589a2b51.png

Geordie405 Nov 28, 2022 3:38 pm

I am getting the same argument counter error on this page: https://www.flyertalk.com/forum/brit...dition-37.html

It's an issue on Chrome and Safari on Desktop, and Safari on mobile. It started immediately after I made a post to that thread. Before that it was fine.

Dave Noble Nov 28, 2022 3:40 pm

Trying to use alert a moderator regarding a thread, receiving


Originally Posted by FT alert a moderator
Error: Undefined constant "footer_tag_bottom" in ..../global.php(1002) : eval()'d code on line 76

Not sure whether the alert has been sent

GW McLintock Nov 28, 2022 4:07 pm


Originally Posted by Dave Noble (Post 34791316)
Trying to use alert a moderator regarding a thread, receiving

Not sure whether the alert has been sent

I have had this issue as well.

However, it does appear we can change thread titles ourselves now. I'm not sure if this is intended, but I just did it in CommunityBuzz (https://www.flyertalk.com/forum/comm...-3-2022-a.html) - either that, or the mods received my report and changed the title in under 90 seconds.

(I swear this is not a shameless plug! :p)

-J.

DELee Nov 28, 2022 4:09 pm

Continuing problem/error:

Forum/Thread: Marriott Bonvoy hotels in Rome, Italy - FlyerTalk Forums

Action: Selecting "Go to first new post button" (inline or last post column) or selecting last page (multiple) generates the following error:


ArgumentCountError: 5 arguments are required, 4 given in ..../includes/functions.php on line 3127
Repeatability: Been consistent since this morning

David

canopus27 Nov 28, 2022 4:20 pm

I'm getting the same error in the Air Canada "The Forum Lounge Thread": https://www.flyertalk.com/forum/air-...ad-2022-a.html

Gives me the helpful message that: ArgumentCountError: 7 arguments are required, 6 given in ..../includes/functions.php on line 3127

DELee Nov 28, 2022 4:28 pm

Argument count error for: WoH Credit card! [Launched 2018]

Argument count error for: OMNI Bugger Virtual DO #29: Saturday, December 3, 2022

David

IBJoel Nov 28, 2022 4:45 pm

Thanks guys. I sent some of these URLs along to tech

Polytonic Nov 28, 2022 4:57 pm

Edit: please ignore (DELee beat me to the Marriott thread).

ExpatExp Nov 28, 2022 5:36 pm

Same as above in mutiple threads:


ArgumentCountError: 7 arguments are required, 6 given in ..../includes/functions.php on line 3127


All times are GMT -6. The time now is 7:39 pm.


This site is owned, operated, and maintained by MH Sub I, LLC dba Internet Brands. Copyright © 2026 MH Sub I, LLC dba Internet Brands. All rights reserved. Designated trademarks are the property of their respective owners.