Fatal error: Uncaught TypeError

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
User avatar
RMcGirr83
Recognised Extension Developer
Posts: 20792
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: Fatal error: Uncaught TypeError

Post by RMcGirr83 » Tue Feb 20, 2018 7:15 pm

Well if I was to guess, which this is, I would say that one of those unvalidated extensions you installed (points, arcade) is the issue.
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

User avatar
Froddelaar
Registered User
Posts: 821
Joined: Tue Mar 29, 2016 3:45 am
Location: Aalst (Belgium)
Name: Andy Dm
Contact:

Re: Fatal error: Uncaught TypeError

Post by Froddelaar » Tue Feb 20, 2018 7:33 pm

RMcGirr83 wrote:
Tue Feb 20, 2018 7:15 pm
Well if I was to guess, which this is, I would say that one of those unvalidated extensions you installed (points, arcade) is the issue.
This error is not on my own forum.
I have those extensions also installed on my own forum, no problem there.. al works fine.
Wij promoten UW muziek in ons forum & delen alles via Sociale media!
Muziek wordt ook toegevoegd in de playlist van
textradio.be!
Mail uw single + hoesje + info naar: info@muziekpromo.net of Solidjeuh@textradio.be
===============
Onze Website: https://www.muziekpromo.net

User avatar
GanstaZ
Registered User
Posts: 331
Joined: Wed Oct 11, 2017 10:29 pm
Location: Zverse

Re: Fatal error: Uncaught TypeError

Post by GanstaZ » Tue Feb 20, 2018 10:10 pm

I agree with the post above. This error comes from one of those extensions. Small mistake in module file or migrator will mess up something.

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 20792
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: Fatal error: Uncaught TypeError

Post by RMcGirr83 » Tue Feb 20, 2018 10:51 pm

Froddelaar wrote:
Tue Feb 20, 2018 7:33 pm
This error is not on my own forum.
I have those extensions also installed on my own forum, no problem there.. al works fine.
That's completely immaterial.
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

User avatar
Theriddler1
Registered User
Posts: 445
Joined: Sat Aug 27, 2011 11:00 pm
Location: NL
Name: Theriddler❶
Contact:

Re: Fatal error: Uncaught TypeError

Post by Theriddler1 » Wed Feb 21, 2018 4:02 pm

Froddelaar wrote:
Tue Feb 20, 2018 5:50 pm
Now this ..... damnnnnnnn

Code: Select all

Algemene fout
SQL ERROR [ mysqli ]

Duplicate key name 'itm_usr_mthd' [1061]

SQL

ALTER TABLE phpbb_user_notifications ADD INDEX itm_usr_mthd (item_type, item_id, user_id, method)

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 996
CALL: trigger_error()

FILE: [ROOT]/phpbb/db/driver/mysqli.php
LINE: 193
CALL: phpbb\db\driver\driver->sql_error()

FILE: [ROOT]/phpbb/db/tools/tools.php
LINE: 1064
CALL: phpbb\db\driver\mysqli->sql_query()

FILE: [ROOT]/phpbb/db/tools/tools.php
LINE: 1551
CALL: phpbb\db\tools\tools->_sql_run_sql()

FILE: [ROOT]/phpbb/db/tools/tools.php
LINE: 671
CALL: phpbb\db\tools\tools->sql_create_index()

FILE: (not given by php)
LINE: (not given by php)
CALL: phpbb\db\tools\tools->perform_schema_changes()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 714
CALL: call_user_func_array()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 661
CALL: phpbb\db\migrator->run_step()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 400
CALL: phpbb\db\migrator->process_data_step()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 351
CALL: phpbb\db\migrator->try_apply()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 351
CALL: phpbb\db\migrator->try_apply()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 351
CALL: phpbb\db\migrator->try_apply()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 351
CALL: phpbb\db\migrator->try_apply()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 351
CALL: phpbb\db\migrator->try_apply()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 351
CALL: phpbb\db\migrator->try_apply()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 351
CALL: phpbb\db\migrator->try_apply()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 351
CALL: phpbb\db\migrator->try_apply()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 288
CALL: phpbb\db\migrator->try_apply()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 241
CALL: phpbb\db\migrator->update_do()

FILE: [ROOT]/phpbb/extension/base.php
LINE: 78
CALL: phpbb\db\migrator->update()

FILE: [ROOT]/phpbb/extension/manager.php
LINE: 190
CALL: phpbb\extension\base->enable_step()

FILE: [ROOT]/includes/acp/acp_extensions.php
LINE: 209
CALL: phpbb\extension\manager->enable_step()

FILE: [ROOT]/includes/functions_module.php
LINE: 676
CALL: acp_extensions->main()

FILE: [ROOT]/adm/index.php
LINE: 82
CALL: p_master->load_active()
Well this had been solved.

I deleted INDEX itm_usr_mthd from TABLE phpbb_user_notifications

Then back to the first post here problem with migrator
Just overwrite the migrator.php file from /phpbb/db/ with one from a phpbb 3.2.1 pack
that also solved the problem with the extensions could't not update.
Theriddler - Moderator @ phpBB.nl | phpBBservice.nl Team-member
ImageSupport Tools | Image My Extensions | buy me a beer Image

User avatar
Froddelaar
Registered User
Posts: 821
Joined: Tue Mar 29, 2016 3:45 am
Location: Aalst (Belgium)
Name: Andy Dm
Contact:

Re: Fatal error: Uncaught TypeError

Post by Froddelaar » Wed Feb 21, 2018 11:32 pm

Solved thx to Theriddler1, ty! :)

It was just that simple migration.php file :shock:
Wij promoten UW muziek in ons forum & delen alles via Sociale media!
Muziek wordt ook toegevoegd in de playlist van
textradio.be!
Mail uw single + hoesje + info naar: info@muziekpromo.net of Solidjeuh@textradio.be
===============
Onze Website: https://www.muziekpromo.net

Post Reply

Return to “[3.2.x] Support Forum”

Who is online

Users browsing this forum: david63 and 21 guests