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
Froddelaar
Registered User
Posts: 585
Joined: Tue Mar 29, 2016 3:45 am
Location: Aalst (Belgium)
Name: Andy Dm
Contact:

Fatal error: Uncaught TypeError

Post by Froddelaar » Mon Jan 22, 2018 11:15 pm

Since the forum updated from phpBB 3.2.1 to 3.2.2 I get this error when I try to enable an extension..
It happens to all extensions, disabled Vigilink, national flags.., and when I try to enable, this happens..

Code: Select all

Fatal error: Uncaught TypeError: Argument 1 passed to phpbb\db\migrator::get_callable_from_step() must be of the type array, null given, called in /home/algeme1q/public_html/phpbb/db/migrator.php on line 704 and defined in /home/algeme1q/public_html/phpbb/db/migrator.php:726 Stack trace: #0 /home/algeme1q/public_html/phpbb/db/migrator.php(704): phpbb\db\migrator->get_callable_from_step(NULL, NULL, false) #1 /home/algeme1q/public_html/phpbb/db/migrator.php(661): phpbb\db\migrator->run_step(NULL, NULL, false) #2 /home/algeme1q/public_html/phpbb/db/migrator.php(436): phpbb\db\migrator->process_data_step(Array, Array) #3 /home/algeme1q/public_html/phpbb/db/migrator.php(351): phpbb\db\migrator->try_apply('\\phpbb\\db\\migra...') #4 /home/algeme1q/public_html/phpbb/db/migrator.php(351): phpbb\db\migrator->try_apply('\\phpbb\\db\\migra...') #5 /home/algeme1q/public_html/phpbb/db/migrator.php(351): phpbb\db\migrator->try_apply('\\phpbb\\db\\migra...') #6 /home/algeme1q/public_html/phpbb/db/migrator.php(351): phpbb\db\migrator->tr in /home/algeme1q/public_html/phpbb/db/migrator.php on line 726
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
Froddelaar
Registered User
Posts: 585
Joined: Tue Mar 29, 2016 3:45 am
Location: Aalst (Belgium)
Name: Andy Dm
Contact:

Re: Fatal error: Uncaught TypeError

Post by Froddelaar » Tue Jan 23, 2018 6:18 pm

Anyone please? :oops:
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
kinerity
Community Team Member
Community Team Member
Posts: 1333
Joined: Mon Sep 01, 2014 1:00 am
Name: Kailey Truscott
Contact:

Re: Fatal error: Uncaught TypeError

Post by kinerity » Wed Jan 24, 2018 1:38 am

Have you replaced the file mentioned with a fresh one and cleared the cache?
Kailey Truscott - Community Team

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

Re: Fatal error: Uncaught TypeError

Post by Froddelaar » Wed Jan 24, 2018 2:31 am

kinerity wrote:
Wed Jan 24, 2018 1:38 am
Have you replaced the file mentioned with a fresh one and cleared the cache?
Yes. Replaced the whole phpbb folder & cleared cache. Error stays
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
Froddelaar
Registered User
Posts: 585
Joined: Tue Mar 29, 2016 3:45 am
Location: Aalst (Belgium)
Name: Andy Dm
Contact:

Re: Fatal error: Uncaught TypeError

Post by Froddelaar » Sun Feb 18, 2018 11:24 pm

Bump ...
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: 49
Joined: Wed Oct 11, 2017 10:29 pm
Location: Zverse

Re: Fatal error: Uncaught TypeError

Post by GanstaZ » Mon Feb 19, 2018 2:23 am

And you can't enable Viglink as well?
Last edited by GanstaZ on Mon Feb 19, 2018 12:08 pm, edited 1 time in total.

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

Re: Fatal error: Uncaught TypeError

Post by Froddelaar » Mon Feb 19, 2018 3:01 am

GanstaZ wrote:
Mon Feb 19, 2018 2:23 am
And you can't enable Vigilink as well?
Nope, same error.
I uploaded all new phpBB files. Error stays.
I can install/enable some extensions, but not all.

These are not working:
  • JV Points System
    Ultimate Points Extension
    VigLink
    phpBB Arcade
    phpBB Arcade - JVA Start System
    phpBB Arcade - Board3 portal arcade modules

Tried to disable ALL extensions, and enable them one by one .. same error.
But I CAN enable them via the database phpbb_ext
Problem is that I need to update some extensions first.. so that wont work via the database ..
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: 49
Joined: Wed Oct 11, 2017 10:29 pm
Location: Zverse

Re: Fatal error: Uncaught TypeError

Post by GanstaZ » Mon Feb 19, 2018 12:34 pm

Did you update your board with full phpbb pack (if needed: with those fixes that you can see in this support forum above) ? Only time i could reproduce it, i had a module conflict in db and in migration file. It happened thanks to my own typo in migration file.

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

Re: Fatal error: Uncaught TypeError

Post by Froddelaar » Mon Feb 19, 2018 1:42 pm

GanstaZ wrote:
Mon Feb 19, 2018 12:34 pm
Did you update your board with full phpbb pack (if needed: with those fixes that you can see in this support forum above) ? Only time i could reproduce it, i had a module conflict in db and in migration file. It happened thanks to my own typo in migration file.
Yes, updated with the pull package. Already did the fixes from viewtopic.php?f=556&t=2453611 . But those have nothing to do with the error I have. Damn this is frustrating :?
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
Froddelaar
Registered User
Posts: 585
Joined: Tue Mar 29, 2016 3:45 am
Location: Aalst (Belgium)
Name: Andy Dm
Contact:

Re: Fatal error: Uncaught TypeError

Post by Froddelaar » Mon Feb 19, 2018 4:33 pm

Code: Select all

Fatal error: Uncaught TypeError: Argument 1 passed to phpbb\db\migrator::get_callable_from_step() must be of the type array, null given, called in /home/algeme1q/public_html/phpbb/db/migrator.php on line 704 and defined in /home/algeme1q/public_html/phpbb/db/migrator.php:726

Stack trace:
 #0 /home/algeme1q/public_html/phpbb/db/migrator.php(704): phpbb\db\migrator->get_callable_from_step(NULL, NULL, false)
 #1 /home/algeme1q/public_html/phpbb/db/migrator.php(661): phpbb\db\migrator->run_step(NULL, NULL, false) 
 #2 /home/algeme1q/public_html/phpbb/db/migrator.php(436): phpbb\db\migrator->process_data_step(Array, Array) 
 #3 /home/algeme1q/public_html/phpbb/db/migrator.php(351): phpbb\db\migrator->try_apply('\\phpbb\\db\\migra...') 
 #4 /home/algeme1q/public_html/phpbb/db/migrator.php(351): phpbb\db\migrator->try_apply('\\phpbb\\db\\migra...') 
 #5 /home/algeme1q/public_html/phpbb/db/migrator.php(351): phpbb\db\migrator->try_apply('\\phpbb\\db\\migra...') 
 #6 /home/algeme1q/public_html/phpbb/db/migrator.php(351): phpbb\db\migrator->tr in /home/algeme1q/public_html/phpbb/db/migrator.php on line 726
Fatal error: Uncaught TypeError
Must be something in the file? But problem is only on 1 site .. lol
Very frustrating, because I cannot update arcade extension, and install ultimate points ..
Or any other extensions that gave this error.
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: 49
Joined: Wed Oct 11, 2017 10:29 pm
Location: Zverse

Re: Fatal error: Uncaught TypeError

Post by GanstaZ » Mon Feb 19, 2018 9:18 pm

Well.. I don't know much about those extensions you use, but it smells like db problem (module table for example).

User avatar
Froddelaar
Registered User
Posts: 585
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 12:38 pm

I emptied the phpbb_modules table
Then when I install an extension I get this:
The module already exists: UCP_AUTH_LINK_MANAGE
When I remove that module, en try to install an extension I get this:
The module already exists: ACP_CONTACT_SETTINGS
I can't find that module ..

And when I try again, this comes back until I empty the phpbb_modules table ..

Code: Select all

Fatal error: Uncaught TypeError: Argument 1 passed to phpbb\db\migrator::get_callable_from_step() must be of the type array, null given, called in /home/algeme1q/public_html/phpbb/db/migrator.php on line 704 and defined in /home/algeme1q/public_html/phpbb/db/migrator.php:726 Stack trace: #0 /home/algeme1q/public_html/phpbb/db/migrator.php(704): phpbb\db\migrator->get_callable_from_step(NULL, NULL, false) #1 /home/algeme1q/public_html/phpbb/db/migrator.php(661): phpbb\db\migrator->run_step(NULL, NULL, false) #2 /home/algeme1q/public_html/phpbb/db/migrator.php(436): phpbb\db\migrator->process_data_step(Array, Array) #3 /home/algeme1q/public_html/phpbb/db/migrator.php(351): phpbb\db\migrator->try_apply('\\phpbb\\db\\migra...') #4 /home/algeme1q/public_html/phpbb/db/migrator.php(351): phpbb\db\migrator->try_apply('\\phpbb\\db\\migra...') #5 /home/algeme1q/public_html/phpbb/db/migrator.php(351): phpbb\db\migrator->try_apply('\\phpbb\\db\\migra...') #6 /home/algeme1q/public_html/phpbb/db/migrator.php(351): phpbb\db\migrator->tr in /home/algeme1q/public_html/phpbb/db/migrator.php on line 726
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: 49
Joined: Wed Oct 11, 2017 10:29 pm
Location: Zverse

Re: Fatal error: Uncaught TypeError

Post by GanstaZ » Tue Feb 20, 2018 2:12 pm

I would re-build modules table (fresh as a mint) & it may help delete the /cache/production. That error may smell like extension one, but i could be wrong. That's why we test to find out the culprit)

User avatar
Froddelaar
Registered User
Posts: 585
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 3:10 pm

GanstaZ wrote:
Tue Feb 20, 2018 2:12 pm
I would re-build modules table (fresh as a mint) & it may help delete the /cache/production. That error may smell like extension one, but i could be wrong. That's why we test to find out the culprit)
And how can I rebuild that ?

========= EDIT ==========

I deleted some modules, and re-created them.
Also deleted some modules that where not removed by old extensions..
That seems to have fix the problem for now.. lets hope the error wont come back ...
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
Froddelaar
Registered User
Posts: 585
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 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()
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: Brf, canonknipser, elonturing, Jack0127, JohnW63, MarkDHamill and 29 guests