"Uncaught Error" when updating from 2.15 to 2.3-beta1

Found a bug? Tell us!!
corcons
Regular
Posts: 62
Joined: Sun Jun 30, 2019 11:54 pm

Re: "Uncaught Error" when updating from 2.15 to 2.3-beta1

Post by corcons »

Thanks thh,
I've set back $expectError tu false in in "include/db/mysqli.inc.php and I've made the changes. We'll see it is solved. :wink:
jmglastetter
Regular
Posts: 16
Joined: Fri Dec 14, 2018 6:27 am

Re: "Uncaught Error" when updating from 2.15 to 2.3-beta1

Post by jmglastetter »

At it again. Similar error message now when trying to update from 2.3-beta1 to 2.3-rc1.
  • Using PHP 7.3.6.
  • There are no plugin updates available.
  • Line 128 of upgrader.inc.tpl still reads "{if $sqlfiles && (sizeof($sqlfiles) > 0)}" which is what we changed to last time to solve the error.
Stack Trace
Fatal error: Uncaught ErrorException: Warning: sizeof(): Parameter must be an array or an object that implements Countable in /home/user/public_html/templates_c/2k11_Precise_Assemblies/2f/b7/80/2fb780b66f570ea11b4260f85a7b0e49103f444c_0.file.upgrader.inc.tpl.php:299 Stack trace: #0 [internal function]: errorToExceptionHandler(2, 'sizeof(): Param...', '/home/iloveprec...', 299, Array) #1 /home/user/public_html/templates_c/2k11_Precise_Assemblies/2f/b7/80/2fb780b66f570ea11b4260f85a7b0e49103f444c_0.file.upgrader.inc.tpl.php(299): sizeof(NULL) #2 /home/user/public_html/bundled-libs/Smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_5d465728b461a7_08280217(Object(Smarty_Internal_Template)) #3 /home/user/public_html/bundled-libs/Smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template)) #4 /home/user/public_html/bundled-libs/Smarty/libs/sysplugins/smarty_internal_template.php(2 in /home/user/public_html/templates_c/2k11_MyFork/2f/b7/80/2fb780b66f570ea11b4260f85a7b0e49103f444c_0.file.upgrader.inc.tpl.php on line 299

== ERROR-REPORT (DEBUGGING ENABLED) ==
== (When you copy this debug output to a forum or other places, make sure to remove your username/passwords, as they may be contained within function calls) ==

#0 errorToExceptionHandler(1, Uncaught ErrorException: Warning: sizeof(): Parameter must be an array or an object that implements Countable in /home/user/public_html/templates_c/2k11_MyFork/2f/b7/80/2fb780b66f570ea11b4260f85a7b0e49103f444c_0.file.upgrader.inc.tpl.php:299
Stack trace:
#0 [internal function]: errorToExceptionHandler(2, 'sizeof(): Param...', '/home/iloveprec...', 299, Array)
#1 /home/user/public_html/templates_c/2k11_MyFork/2f/b7/80/2fb780b66f570ea11b4260f85a7b0e49103f444c_0.file.upgrader.inc.tpl.php(299): sizeof(NULL)
#2 /home/user/public_html/bundled-libs/Smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_5d465728b461a7_08280217(Object(Smarty_Internal_Template))
#3 /home/user/public_html/bundled-libs/Smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))
#4 /home/user/public_html/bundled-libs/Smarty/libs/sysplugins/smarty_internal_template.php(2, /home/user/public_html/templates_c/2k11_MyFork/2f/b7/80/2fb780b66f570ea11b4260f85a7b0e49103f444c_0.file.upgrader.inc.tpl.php, 299) called at [/home/user/public_html/include/compat.inc.php:254]
#1 fatalErrorShutdownHandler()

Fatal Error: Uncaught ErrorException: Warning: sizeof(): Parameter must be an array or an object that implements Countable in /home/user/public_html/templates_c/2k11_MyFork/2f/b7/80/2fb780b66f570ea11b4260f85a7b0e49103f444c_0.file.upgrader.inc.tpl.php:299 Stack trace: #0 [internal function]: errorToExceptionHandler(2, 'sizeof(): Param...', '/home/iloveprec...', 299, Array) #1 /home/user/public_html/templates_c/2k11_MyFork/2f/b7/80/2fb780b66f570ea11b4260f85a7b0e49103f444c_0.file.upgrader.inc.tpl.php(299): sizeof(NULL) #2 /home/user/public_html/bundled-libs/Smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_5d465728b461a7_08280217(Object(Smarty_Internal_Template)) #3 /home/user/public_html/bundled-libs/Smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template)) #4 /home/user/public_html/bundled-libs/Smarty/libs/sysplugins/smarty_internal_template.php(2 in /home/user/public_html/templates_c/2k11_MyFork/2f/b7/80/2fb780b66f570ea11b4260f85a7b0e49103f444c_0.file.upgrader.inc.tpl.php on line 299.

Fatal error: Uncaught ErrorException: Fatal Error: Uncaught ErrorException: Warning: sizeof(): Parameter must be an array or an object that implements Countable in /home/user/public_html/templates_c/2k11_MyFork/2f/b7/80/2fb780b66f570ea11b4260f85a7b0e49103f444c_0.file.upgrader.inc.tpl.php:299
Stack trace:
#0 [internal function]: errorToExceptionHandler(2, 'sizeof(): Param...', '/home/iloveprec...', 299, Array)
#1 /home/user/public_html/templates_c/2k11_MyFork/2f/b7/80/2fb780b66f570ea11b4260f85a7b0e49103f444c_0.file.upgrader.inc.tpl.php(299): sizeof(NULL)
#2 /home/user/public_html/bundled-libs/Smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_5d465728b461a7_08280217(Object(Smarty_Internal_Template))
#3 /home/user/public_html/bundled-libs/Smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))
#4 /home/user/public_html/bundled-libs/Smarty/libs/sys in /home/user/public_html/templates_c/2k11_MyFork/2f/b7/80/2fb780b66f570ea11b4260f85a7b0e49103f444c_0.file.upgrader.inc.tpl.php on line 299
onli
Regular
Posts: 2825
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: "Uncaught Error" when updating from 2.15 to 2.3-beta1

Post by onli »

Hi, does line 152 look like this?

Code: Select all

{if (($taskCount > 0) || ($sqlfiles && (sizeof($sqlfiles) > 0)))}
jmglastetter
Regular
Posts: 16
Joined: Fri Dec 14, 2018 6:27 am

Re: "Uncaught Error" when updating from 2.15 to 2.3-beta1

Post by jmglastetter »

That fixed it. Hopefully I was more prepared with the information you needed this time around.

Code: Select all

Existing Line 152:  {if (($taskCount > 0) || (sizeof($sqlfiles) > 0))}
Updated Line 152:   {if (($taskCount > 0) || ($sqlfiles && (sizeof($sqlfiles) > 0)))}
After updating that line and clicking the update button, the browser spun and spun, then a 524 timeout occurred. Refreshed the browser, then it indicated the update was successful.

Are these code updates in the updater isolated to just my install?
onli
Regular
Posts: 2825
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: "Uncaught Error" when updating from 2.15 to 2.3-beta1

Post by onli »

Are these code updates in the updater isolated to just my install?
No. I don't know why so far I did not see the same issue, but it seems to be a bug. Maybe it's a strange interaction specific to your setup. In any way, the code is more correct with the patch applied. When we fixed the sizeof issue before the patch also covered line 152, but that of course never arrived in the theme fork you are using.

But this is exactly what betas and rcs are for. Thanks for testing! It will help others. The patches are now included in s9y.
corcons
Regular
Posts: 62
Joined: Sun Jun 30, 2019 11:54 pm

Re: "Uncaught Error" when updating from 2.15 to 2.3-beta1

Post by corcons »

Using the search function bring up an error, because you are not able to put other ciphers than numbers and letters. For example "free trade zone" is OK. If you search for "free+trade+zone" this produce following error:

Code: Select all

Fatal error: Uncaught ErrorException: Warning: sprintf(): Too few arguments in /home/corconsc/blog.corcons.com/templates_c/timeline/c2/46/ed/c246ede21c5d4a46bb9055e8097481156705020b_0.file.entries.tpl.php:572 Stack trace: #0 [internal function]: errorToExceptionHandler(2, 'sprintf(): Too ...', '/home/corconsc/...', 572, Array) #1 /home/corconsc/blog.corcons.com/templates_c/timeline/c2/46/ed/c246ede21c5d4a46bb9055e8097481156705020b_0.file.entries.tpl.php(572): sprintf('https://blog.co...', 2) #2 /home/corconsc/blog.corcons.com/bundled-libs/Smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_5d34ea4c11c6e1_61894602(Object(Smarty_Internal_Template)) #3 /home/corconsc/blog.corcons.com/bundled-libs/Smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template)) #4 /home/corconsc/blog.corcons.com/bundled-libs/Smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(Smarty_Internal_Templa in /home/corconsc/blog.corcons.com/templates_c/timeline/c2/46/ed/c246ede21c5d4a46bb9055e8097481156705020b_0.file.entries.tpl.php on line 572
== ERROR-REPORT (BETA/ALPHA-BUILDS) ==
Fatal Error: Uncaught ErrorException: Warning: sprintf(): Too few arguments in /home/corconsc/blog.corcons.com/templates_c/timeline/c2/46/ed/c246ede21c5d4a46bb9055e8097481156705020b_0.file.entries.tpl.php:572 Stack trace: #0 [internal function]: errorToExceptionHandler(2, 'sprintf(): Too ...', '/home/corconsc/...', 572, Array) #1 /home/corconsc/blog.corcons.com/templates_c/timeline/c2/46/ed/c246ede21c5d4a46bb9055e8097481156705020b_0.file.entries.tpl.php(572): sprintf('https://blog.co...', 2) #2 /home/corconsc/blog.corcons.com/bundled-libs/Smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_5d34ea4c11c6e1_61894602(Object(Smarty_Internal_Template)) #3 /home/corconsc/blog.corcons.com/bundled-libs/Smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template)) #4 /home/corconsc/blog.corcons.com/bundled-libs/Smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(Smarty_Internal_Templa in /home/corconsc/blog.corcons.com/templates_c/timeline/c2/46/ed/c246ede21c5d4a46bb9055e8097481156705020b_0.file.entries.tpl.php on line 572.
For more details set $serendipity['production'] = 'debug' in serendipity_config_local.inc.php to receive a stack-trace.



Fatal error: Uncaught ErrorException: Fatal Error: Uncaught ErrorException: Warning: sprintf(): Too few arguments in /home/corconsc/blog.corcons.com/templates_c/timeline/c2/46/ed/c246ede21c5d4a46bb9055e8097481156705020b_0.file.entries.tpl.php:572
Stack trace:
#0 [internal function]: errorToExceptionHandler(2, 'sprintf(): Too ...', '/home/corconsc/...', 572, Array)
#1 /home/corconsc/blog.corcons.com/templates_c/timeline/c2/46/ed/c246ede21c5d4a46bb9055e8097481156705020b_0.file.entries.tpl.php(572): sprintf('https://blog.co...', 2)
#2 /home/corconsc/blog.corcons.com/bundled-libs/Smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_5d34ea4c11c6e1_61894602(Object(Smarty_Internal_Template))
#3 /home/corconsc/blog.corcons.com/bundled-libs/Smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))
#4 /home/corconsc/blog.corcons.com/bundled-libs/Smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled in /home/corconsc/blog.corcons.com/templates_c/timeline/c2/46/ed/c246ede21c5d4a46bb9055e8097481156705020b_0.file.entries.tpl.php on line 572
corcons
Regular
Posts: 62
Joined: Sun Jun 30, 2019 11:54 pm

Re: "Uncaught Error" when updating from 2.15 to 2.3-beta1

Post by corcons »

When you go to "Admin==>Maintenance==>Weblog application" and click GO comes following error:

Code: Select all

== ERROR-REPORT (BETA/ALPHA-BUILDS) ==
Warning: sizeof(): Parameter must be an array or an object that implements Countable in /home/corconsc/blog.corcons.com/include/admin/importers/b2evolution.inc.php on line 56.
For more details set $serendipity['production'] = 'debug' in serendipity_config_local.inc.php to receive a stack-trace.



Fatal error: Uncaught ErrorException: Warning: sizeof(): Parameter must be an array or an object that implements Countable in /home/corconsc/blog.corcons.com/include/admin/importers/b2evolution.inc.php:56
Stack trace:
#0 [internal function]: errorToExceptionHandler(2, 'sizeof(): Param...', '/home/corconsc/...', 56, Array)
#1 /home/corconsc/blog.corcons.com/include/admin/importers/b2evolution.inc.php(56): sizeof(NULL)
#2 /home/corconsc/blog.corcons.com/include/admin/import.inc.php(214): Serendipity_Import_b2evolution->validateData()
#3 /home/corconsc/blog.corcons.com/serendipity_admin.php(163): include('/home/corconsc/...')
#4 {main}
thrown in /home/corconsc/blog.corcons.com/include/admin/importers/b2evolution.inc.php on line 56

== ERROR-REPORT (BETA/ALPHA-BUILDS) == 
Fatal Error: Uncaught ErrorException: Warning: sizeof(): Parameter must be an array or an object that implements Countable in /home/corconsc/blog.corcons.com/include/admin/importers/b2evolution.inc.php:56
Stack trace:
#0 [internal function]: errorToExceptionHandler(2, 'sizeof(): Param...', '/home/corconsc/...', 56, Array)
#1 /home/corconsc/blog.corcons.com/include/admin/importers/b2evolution.inc.php(56): sizeof(NULL)
#2 /home/corconsc/blog.corcons.com/include/admin/import.inc.php(214): Serendipity_Import_b2evolution->validateData()
#3 /home/corconsc/blog.corcons.com/serendipity_admin.php(163): include('/home/corconsc/...')
#4 {main}
thrown in /home/corconsc/blog.corcons.com/include/admin/importers/b2evolution.inc.php on line 56.
For more details set $serendipity['production'] = 'debug' in serendipity_config_local.inc.php to receive a stack-trace.



Fatal error: Uncaught ErrorException: Fatal Error: Uncaught ErrorException: Warning: sizeof(): Parameter must be an array or an object that implements Countable in /home/corconsc/blog.corcons.com/include/admin/importers/b2evolution.inc.php:56
Stack trace:
#0 [internal function]: errorToExceptionHandler(2, 'sizeof(): Param...', '/home/corconsc/...', 56, Array)
#1 /home/corconsc/blog.corcons.com/include/admin/importers/b2evolution.inc.php(56): sizeof(NULL)
#2 /home/corconsc/blog.corcons.com/include/admin/import.inc.php(214): Serendipity_Import_b2evolution->validateData()
#3 /home/corconsc/blog.corcons.com/serendipity_admin.php(163): include('/home/corconsc/...')
#4 {main}
thrown in /home/corconsc/blog.corcons.com/include/admin/importers/b2evolution.inc.php:56
Stack trace:
#0 /home/corconsc/blog.corcons.com/include/compat.inc.php(254): errorToExceptionHandler(1, 'Uncaught ErrorE...', '/home/corconsc/...', 56)
#1 [internal function]: fatalErrorShutdownHandler()
#2 {main}
thrown in /home/corconsc/blog.corcons.com/include/admin/importers/b2evolution.inc.php on line 56
corcons
Regular
Posts: 62
Joined: Sun Jun 30, 2019 11:54 pm

Re: "Uncaught Error" when updating from 2.15 to 2.3-beta1

Post by corcons »

If you "Delete comment and mark as spam:" from the email link, you receive following error:

Code: Select all

== ERROR-REPORT (BETA/ALPHA-BUILDS) ==
Warning: implode(): Invalid arguments passed in /home/corconsc/blog.corcons.com/include/db/mysqli.inc.php on line 38.
For more details set $serendipity['production'] = 'debug' in serendipity_config_local.inc.php to receive a stack-trace.



Fatal error: Uncaught ErrorException: Warning: implode(): Invalid arguments passed in /home/corconsc/blog.corcons.com/include/db/mysqli.inc.php:38
Stack trace:
#0 [internal function]: errorToExceptionHandler(2, 'implode(): Inva...', '/home/corconsc/...', 38, Array)
#1 /home/corconsc/blog.corcons.com/include/db/mysqli.inc.php(38): implode(', ', NULL)
#2 /home/corconsc/blog.corcons.com/plugins/serendipity_event_spamblock_bayes/serendipity_event_spamblock_bayes.php(400): serendipity_db_in_sql('token', NULL)
#3 /home/corconsc/blog.corcons.com/plugins/serendipity_event_spamblock_bayes/serendipity_event_spamblock_bayes.php(286): serendipity_event_spamblock_bayes->learn('??????????????', 'spam', 'author')
#4 /home/corconsc/blog.corcons.com/plugins/serendipity_event_spamblock_bayes/serendipity_event_spamblock_bayes.php(1622): serendipity_event_spamblock_bayes->startLearn(Array, 'spam')
#5 /home/corconsc/blog.corcons.com/plugins/serendipity_event_spamblock_bayes/serendipity_event_spamblock_bayes.php(708): serendipity_event_spamblo in /home/corconsc/blog.corcons.com/include/db/mysqli.inc.php on line 38

== ERROR-REPORT (BETA/ALPHA-BUILDS) == 
Fatal Error: Uncaught ErrorException: Warning: implode(): Invalid arguments passed in /home/corconsc/blog.corcons.com/include/db/mysqli.inc.php:38
Stack trace:
#0 [internal function]: errorToExceptionHandler(2, 'implode(): Inva...', '/home/corconsc/...', 38, Array)
#1 /home/corconsc/blog.corcons.com/include/db/mysqli.inc.php(38): implode(', ', NULL)
#2 /home/corconsc/blog.corcons.com/plugins/serendipity_event_spamblock_bayes/serendipity_event_spamblock_bayes.php(400): serendipity_db_in_sql('token', NULL)
#3 /home/corconsc/blog.corcons.com/plugins/serendipity_event_spamblock_bayes/serendipity_event_spamblock_bayes.php(286): serendipity_event_spamblock_bayes->learn('??????????????', 'spam', 'author')
#4 /home/corconsc/blog.corcons.com/plugins/serendipity_event_spamblock_bayes/serendipity_event_spamblock_bayes.php(1622): serendipity_event_spamblock_bayes->startLearn(Array, 'spam')
#5 /home/corconsc/blog.corcons.com/plugins/serendipity_event_spamblock_bayes/serendipity_event_spamblock_bayes.php(708): serendipity_event_spamblo in /home/corconsc/blog.corcons.com/include/db/mysqli.inc.php on line 38.
For more details set $serendipity['production'] = 'debug' in serendipity_config_local.inc.php to receive a stack-trace.



Fatal error: Uncaught ErrorException: Fatal Error: Uncaught ErrorException: Warning: implode(): Invalid arguments passed in /home/corconsc/blog.corcons.com/include/db/mysqli.inc.php:38
Stack trace:
#0 [internal function]: errorToExceptionHandler(2, 'implode(): Inva...', '/home/corconsc/...', 38, Array)
#1 /home/corconsc/blog.corcons.com/include/db/mysqli.inc.php(38): implode(', ', NULL)
#2 /home/corconsc/blog.corcons.com/plugins/serendipity_event_spamblock_bayes/serendipity_event_spamblock_bayes.php(400): serendipity_db_in_sql('token', NULL)
#3 /home/corconsc/blog.corcons.com/plugins/serendipity_event_spamblock_bayes/serendipity_event_spamblock_bayes.php(286): serendipity_event_spamblock_bayes->learn('??????????????', 'spam', 'author')
#4 /home/corconsc/blog.corcons.com/plugins/serendipity_event_spamblock_bayes/serendipity_event_spamblock_bayes.php(1622): serendipity_event_spamblock_bayes->startLearn(Array, 'spam')
#5 /home/corconsc/blog.corcons.com/plugins/serendipity_event_spamblock_bayes/serendipity_event_spamblock_bay in /home/corconsc/blog.corcons.com/include/db/mysqli.inc.php on line 38
corcons
Regular
Posts: 62
Joined: Sun Jun 30, 2019 11:54 pm

Re: "Uncaught Error" when updating from 2.15 to 2.3-beta1

Post by corcons »

If you "Delete comment and mark as spam:" from the email link, you receive following error:

Code: Select all

== ERROR-REPORT (BETA/ALPHA-BUILDS) ==
Warning: implode(): Invalid arguments passed in /home/corconsc/blog.corcons.com/include/db/mysqli.inc.php on line 38.
For more details set $serendipity['production'] = 'debug' in serendipity_config_local.inc.php to receive a stack-trace.



Fatal error: Uncaught ErrorException: Warning: implode(): Invalid arguments passed in /home/corconsc/blog.corcons.com/include/db/mysqli.inc.php:38
Stack trace:
#0 [internal function]: errorToExceptionHandler(2, 'implode(): Inva...', '/home/corconsc/...', 38, Array)
#1 /home/corconsc/blog.corcons.com/include/db/mysqli.inc.php(38): implode(', ', NULL)
#2 /home/corconsc/blog.corcons.com/plugins/serendipity_event_spamblock_bayes/serendipity_event_spamblock_bayes.php(400): serendipity_db_in_sql('token', NULL)
#3 /home/corconsc/blog.corcons.com/plugins/serendipity_event_spamblock_bayes/serendipity_event_spamblock_bayes.php(286): serendipity_event_spamblock_bayes->learn('??????????????', 'spam', 'author')
#4 /home/corconsc/blog.corcons.com/plugins/serendipity_event_spamblock_bayes/serendipity_event_spamblock_bayes.php(1622): serendipity_event_spamblock_bayes->startLearn(Array, 'spam')
#5 /home/corconsc/blog.corcons.com/plugins/serendipity_event_spamblock_bayes/serendipity_event_spamblock_bayes.php(708): serendipity_event_spamblo in /home/corconsc/blog.corcons.com/include/db/mysqli.inc.php on line 38

== ERROR-REPORT (BETA/ALPHA-BUILDS) == 
Fatal Error: Uncaught ErrorException: Warning: implode(): Invalid arguments passed in /home/corconsc/blog.corcons.com/include/db/mysqli.inc.php:38
Stack trace:
#0 [internal function]: errorToExceptionHandler(2, 'implode(): Inva...', '/home/corconsc/...', 38, Array)
#1 /home/corconsc/blog.corcons.com/include/db/mysqli.inc.php(38): implode(', ', NULL)
#2 /home/corconsc/blog.corcons.com/plugins/serendipity_event_spamblock_bayes/serendipity_event_spamblock_bayes.php(400): serendipity_db_in_sql('token', NULL)
#3 /home/corconsc/blog.corcons.com/plugins/serendipity_event_spamblock_bayes/serendipity_event_spamblock_bayes.php(286): serendipity_event_spamblock_bayes->learn('??????????????', 'spam', 'author')
#4 /home/corconsc/blog.corcons.com/plugins/serendipity_event_spamblock_bayes/serendipity_event_spamblock_bayes.php(1622): serendipity_event_spamblock_bayes->startLearn(Array, 'spam')
#5 /home/corconsc/blog.corcons.com/plugins/serendipity_event_spamblock_bayes/serendipity_event_spamblock_bayes.php(708): serendipity_event_spamblo in /home/corconsc/blog.corcons.com/include/db/mysqli.inc.php on line 38.
For more details set $serendipity['production'] = 'debug' in serendipity_config_local.inc.php to receive a stack-trace.



Fatal error: Uncaught ErrorException: Fatal Error: Uncaught ErrorException: Warning: implode(): Invalid arguments passed in /home/corconsc/blog.corcons.com/include/db/mysqli.inc.php:38
Stack trace:
#0 [internal function]: errorToExceptionHandler(2, 'implode(): Inva...', '/home/corconsc/...', 38, Array)
#1 /home/corconsc/blog.corcons.com/include/db/mysqli.inc.php(38): implode(', ', NULL)
#2 /home/corconsc/blog.corcons.com/plugins/serendipity_event_spamblock_bayes/serendipity_event_spamblock_bayes.php(400): serendipity_db_in_sql('token', NULL)
#3 /home/corconsc/blog.corcons.com/plugins/serendipity_event_spamblock_bayes/serendipity_event_spamblock_bayes.php(286): serendipity_event_spamblock_bayes->learn('??????????????', 'spam', 'author')
#4 /home/corconsc/blog.corcons.com/plugins/serendipity_event_spamblock_bayes/serendipity_event_spamblock_bayes.php(1622): serendipity_event_spamblock_bayes->startLearn(Array, 'spam')
#5 /home/corconsc/blog.corcons.com/plugins/serendipity_event_spamblock_bayes/serendipity_event_spamblock_bay in /home/corconsc/blog.corcons.com/include/db/mysqli.inc.php on line 38
thh
Regular
Posts: 419
Joined: Thu Oct 26, 2006 2:38 pm
Location: Stuttgart, Germany
Contact:

Re: "Uncaught Error" when updating from 2.15 to 2.3-beta1

Post by thh »

corcons wrote: Wed Aug 07, 2019 3:23 pm Using the search function bring up an error, because you are not able to put other ciphers than numbers and letters. For example "free trade zone" is OK. If you search for "free+trade+zone" this produce following error:
[...]
Can't reproduce in 2.1.5 or 2.3-rc1 on PHP 7.1.31 with standard theme (2k11). - Perhaps a thing with the timeline theme?
thh
Regular
Posts: 419
Joined: Thu Oct 26, 2006 2:38 pm
Location: Stuttgart, Germany
Contact:

Re: "Uncaught Error" when updating from 2.15 to 2.3-beta1

Post by thh »

corcons wrote: Wed Aug 07, 2019 3:26 pm When you go to "Admin==>Maintenance==>Weblog application" and click GO comes following error:
Can't reproduce with 2.3-rc1 and PHP 7.1.31 on our testblog.

Could someone test this (it's the importer) with PHP 7.2 or newer, please?
Post Reply