ngt4w0og
Forum Replies Created
-
I’m the one who should thank you!
Wow, never seen such a fast support. ??Thanks!
Hi,
thanks for your response!
>What I know is that GLOB_RACE is not a potential issue to use
Well, there’s at least a hint on the PHP docs:Note: The GLOB_BRACE flag is not available on some non GNU systems, like Solaris.
I also know some webhosters who use Solaris, so it wouldn’t just affect me. ??
IMHO a simple check à la
defined('GLOB_BRACE') ? GLOB_BRACE : 0
should be fine(?, correct me when I’m wrong, dunno what glob() is used for in that usecase) to just suppress the warning.Thanks for your help!
- This reply was modified 7 years, 3 months ago by ngt4w0og.
Forum: Plugins
In reply to: [FeedWordPress] Imported articles not found in some QueriesOK, found the error..
The feed has some kind of delay of 4 days so imported feeds get published in the past and my script couldn’t find it.
dayumForum: Plugins
In reply to: [Advanced Cron Manager - debug & control] "Execute" function does not workHello,
it works now.
Thank you very much for your effort and have a nice day.Forum: Plugins
In reply to: [Advanced Cron Manager - debug & control] "Execute" function does not workHello,
I’m using 1.4 and seem to have the same error:
When clicking on ‘execute’ on a single-event-job, I get the following error:
PHP message: PHP Warning: array_slice() expects parameter 1 to be array, string given in wordpress/wp-includes/plugin.php on line 576 PHP message: PHP Warning: call_user_func_array() expects parameter 2 to be array, null given in wordpress/wp-includes/plugin.php on line 576
I debugged a little bit, and in wp-includes/plugin.php on line 536 (do_action_ref_array) i get the following message by the following code:
if(is_string($args)) { trigger_error("string:"); trigger_error(var_export($args, true)); } PHP message: PHP Notice: string: in wordpress/wp-includes/plugin.php on line 540 PHP message: PHP Notice: '[email protected],mailsubject,' in wordpress/wp-includes/plugin.php on line 541
in wp_schedule_single_event the $args are an array all the time. I think the unserialize isn’t working the right way.
Can anyone reproduce this?
Thanks in advance!