Hey @pcfreak30,
There’s an old topic hanging over here: https://www.ads-software.com/support/topic/handle-autoload-query-for-transients-and-options/
Do you have any plans to add this to your plugin? ??
Cheers.
]]>Hello,
There’s a syntax issue in dedicated-transients.php lines 79 and 81.
You have this:
$wpdb->query( "DROP TABLE {$wpdb->base_prefix}" . DEDICATED_TRANSIENTS_TABLE . " IF EXISTS" );
The correct syntax should be:
$wpdb->query( "DROP TABLE IF EXISTS {$wpdb->base_prefix}" . DEDICATED_TRANSIENTS_TABLE );
Reference: https://dev.mysql.com/doc/refman/8.0/en/drop-table.html
]]>Hello,
I noticed a problem with version 0.1.4.1 today.
All upgrades from version 0.1.2 seem fine, but once I installed the plugin on a new website and tried to activate it – I got the following error:
Fatal error: Uncaught Error: Class 'WP_Filesystem_Direct' not found in .../wp-content/plugins/dedicated-transients/dedicated-transients.php on line 100
Website is running under PHP 7.1
]]>Hiya,
I’ve just seen a similar plugin – https://github.com/HackingWP/discrete-transients-wordpress-plugin/blob/master/include.php – and it also handles autoload queries neatly.
Check line 251 and on.
Looks like it could be worth adding this part to your plugin?
Thanks!
]]>Me again, I am using Multisite.
Looks like the new tables are created and the transients are being created.
However it would appear transients are still being populated into the normal options table as well.
Is this expected behaviour?
]]>I am using your plugin but I still think there is a problem when using multisite…
The database tables seem to be created, but they don’t seem to be being polulated with transients…
Can you please have a look?
pete
]]>This looks like a cool plugin,
I’ve installed and network activated it on one of my multi sites. I can see it stores the transients but it seems to use one central table across the Multisite so I was wondering how the plugin works out which transients belong to which site??
]]>