News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

I am having this error

Started by Carlos1903, February 02, 2024, 06:58:05 PM

Previous topic - Next topic

Carlos1903

Wrong value type sent to the database. Array of integers expected. (preview_attachments)


Someone help me please

Kindred

What is the ACTUAL error?
SMF version?
Mods installed?
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Carlos1903

Quote from: Kindred on February 02, 2024, 08:41:35 PMWhat is the ACTUAL error?
SMF version?
Mods installed?

SMF 2.1.4   

Doug Heffernan

Quote from: Carlos1903 on February 03, 2024, 01:08:11 AMSMF 2.1.4

Can you please answer the other questions as well?

Quote from: Kindred on February 02, 2024, 08:41:35 PMWhat is the ACTUAL error?

Quote from: Kindred on February 02, 2024, 08:41:35 PMMods installed?

Remember, the more details you give us the better. That being said, where are you getting this error, when uploading attachments or editing a post with attachments in it? What was the latest change done to the forum prior to this error happening?

Carlos1903

Quote from: Doug Heffernan on February 03, 2024, 04:51:38 AM
Quote from: Carlos1903 on February 03, 2024, 01:08:11 AMSMF 2.1.4

Can you please answer the other questions as well?

Quote from: Kindred on February 02, 2024, 08:41:35 PMWhat is the ACTUAL error?

Quote from: Kindred on February 02, 2024, 08:41:35 PMMods installed?

Remember, the more details you give us the better. That being said, where are you getting this error, when uploading attachments or editing a post with attachments in it? What was the latest change done to the forum prior to this error happening?

https://fiuxer.lat/?topic=14.0
https://prnt.sc/nyZZ37bVb3mN

The problem caused me when I tried to add a new post and an image wouldn't let me, it came out like this

Arantor

And for the third time of asking, what mods do you have? It sounds like something wasn't installed correctly, especially in relation to attachments.
Holder of controversial views, all of which my own.


Kindred

I also don't see the ACTUAL/FULL error message
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Arantor

Quote from: Kindred on February 04, 2024, 03:27:32 AMI also don't see the ACTUAL/FULL error message

Right there first post. Not everyone runs in the "let's log the DB query that triggered the fault" mode, though in this case it seems unlikely to be helpful.

I think I remember seeing this error in the earlier 2.1 days with an outdated version of one of the attachment mods, especially after the attachment UI changes.
Holder of controversial views, all of which my own.


Carlos1903

Quote from: Arantor on February 04, 2024, 03:21:27 AMAnd for the third time of asking, what mods do you have? It sounds like something wasn't installed correctly, especially in relation to attachments.


I only have these 2

Sir Osis of Liver

This error has been reported several times, apparently without resolution -

https://www.simplemachines.org/community/index.php?topic=585289.msg4147313#msg4147313

Uninstall the mods and see if that solves the problem.  If it does, reinstall the mods one at a time to determine which is causing the error.  If not, upload a clean set of files.


When in Emor, do as the Snamors.
                              - D. Lister

Doug Heffernan

Also

Quote from: Doug Heffernan on February 03, 2024, 04:51:38 AMWhat was the latest change done to the forum prior to this error happening?

erkman77

Hello,
is there in the meanwhile a solution?
Made an upgrade from 2.0.19 to 2.1.4,
for every user, the first post after upgrade , error message "Wrong value type sent to the database. Array of integers expected. (preview_attachments)" appears. After this no Post is watchable, always this error, i have to logout and login and everything wents fine, but this can not be the solution.

Mods installed
polyfill-create_function

PHP 8.0

@rjen

Quote from: Sir Osis of Liver on February 04, 2024, 01:02:42 PMThis error has been reported several times, apparently without resolution -

https://www.simplemachines.org/community/index.php?topic=585289.msg4147313#msg4147313

Uninstall the mods and see if that solves the problem.  If it does, reinstall the mods one at a time to determine which is causing the error.  If not, upload a clean set of files.



Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

Kindred

Quote from: Sir Osis of Liver on February 04, 2024, 01:02:42 PMThis error has been reported several times, apparently without resolution -

https://www.simplemachines.org/community/index.php?topic=585289.msg4147313#msg4147313

Uninstall the mods and see if that solves the problem.  If it does, reinstall the mods one at a time to determine which is causing the error.  If not, upload a clean set of files.



Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: