Hi there,
There’s some errors in your code:
in class-links-list-table.php line 51 there’s
$filename = $wpdb->get_var(
"SELECT filename FROM wp_dispatcher_uploads WHERE id = {$item['upload_id']}"
);
This should be something like this:
$filename = $wpdb->get_var(
"SELECT filename FROM {$wpdb->prefix}dispatcher_uploads WHERE id = {$item['upload_id']}"
);
also line 110 of class-wp-dispatcher-downloader.php is this:
else {
$upload = $wpdb->get_row("SELECT * FROM wp_dispatcher_uploads WHERE id = {$link->upload_id}");
$count = $upload->count + 1;
$wpdb->update(
'wp_dispatcher_uploads',
array( 'count' => $count ),
Shouldn’t that be more like:
else {
$upload = $wpdb->get_row("SELECT * FROM {$wpdb->prefix}dispatcher_uploads WHERE id = {$link->upload_id}");
$count = $upload->count + 1;
$wpdb->update(
$wpdb->prefix . 'dispatcher_uploads',
array( 'count' => $count ),
]]>
Hi
I try to use the shortcode inside CF7 Mail, but it seems not to work
]]>Hello, how are you? How can I turn Shortcode into a button?
]]>Seems promising but unfortunatelly I can’t enable the plugin.
Wordpress says:
Parse error: syntax error, unexpected ')' in /home/my_wordpress_installation/wp-content/plugins/wp-dispatcher/admin/class-wp-dispatcher-add-new-upload.php on line 66
My WordPress install is up-to-date.
Thanks.
]]>