Skip to content

Comments

Fix typo in update check function#23

Open
Gnarfoz wants to merge 1 commit intoavandenberghe:develop32from
Gnarfoz:patch-1
Open

Fix typo in update check function#23
Gnarfoz wants to merge 1 commit intoavandenberghe:develop32from
Gnarfoz:patch-1

Conversation

@Gnarfoz
Copy link

@Gnarfoz Gnarfoz commented May 23, 2022

Typo causing the array to become invalid.

Typo causing the array to become invalid.
@Gnarfoz
Copy link
Author

Gnarfoz commented May 23, 2022

Results in errors like this:

PHP Fatal error:  Uncaught ValueError: curl_setopt_array(): Argument #2 ($options) must contain only valid cURL options in /var/www/forum/ext/paybas/pbwowext-3.2.8/core/admin.php:45
Stack trace:
#0 /var/www/forum/ext/paybas/pbwowext-3.2.8/core/admin.php(45): curl_setopt_array()
#1 /var/www/forum/ext/paybas/pbwowext-3.2.8/acp/pbwow_module.php(345): paybas\pbwowext\core\admin->curl()
#2 /var/www/forum/ext/paybas/pbwowext-3.2.8/acp/pbwow_module.php(69): paybas\pbwowext\acp\pbwow_module->version_check()
#3 /var/www/forum/includes/functions_module.php(676): paybas\pbwowext\acp\pbwow_module->main()
#4 /var/www/forum/adm/index.php(81): p_master->load_active()
#5 {main}
  thrown in /var/www/forum/ext/paybas/pbwowext-3.2.8/core/admin.php on line 45

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant