phy9pas
Forum Replies Created
-
Forum: Plugins
In reply to: [HyperDB] File wp-db.php is deprecated since version 6.1.0I’m sorry, I don’t have anything else to recommend. Hopefully the plugin developers will release a new version shortly which fixes this bug.
You might need to get a web developer to look at this and see if they can implement the solution mentioned above.
Forum: Plugins
In reply to: [HyperDB] File wp-db.php is deprecated since version 6.1.0Change it to
/** Absolute path to the WordPress directory. */ if ( !defined(‘ABSPATH’) ) define(‘ABSPATH’, dirname(FILE) . ‘/’); define(‘WPDB_PATH’, ABSPATH . ‘wp-includes/class-wpdb.php’);
Thsi ensures that WPDB_PATH is defined after ABSPATH
Forum: Plugins
In reply to: [HyperDB] File wp-db.php is deprecated since version 6.1.0You really shouldn’t paste your whole wp-config file in – there is confidential stuff in there.
You need to move this down by a few lines to after where ABSPATH is defined, otherwise it isn’t able to use it in your path to wpdb.
Forum: Plugins
In reply to: [HyperDB] File wp-db.php is deprecated since version 6.1.0You should see a line in your wp-config file that says
/* Add any custom values between this line and the "stop editing" line. */
Add it directly after that line, rather than at the end of the file.
Forum: Plugins
In reply to: [HyperDB] File wp-db.php is deprecated since version 6.1.0Thanks for your response Lubo – I can confirm I’ve been using this workaround for a few weeks now and everything seems to be working as expected.
Sorry I don’t have anything else to suggest.
I would probably try using a different plugin for authentication. It seems like this one isn’t maintained any more and the author doesn’t reply to support requests either.Apologies, my suggested fix was not quite right.
permission_callback should be string containing the function name, rather than a reference to the function itself.
e.g.'permission_callback' => "__return_true"
or'permission_callback' => "is_user_logged_in"
I suggest you update the file
jwt-authentication-for-wp-rest-api/public/class-jwt-auth-public.phpto add
'permission_callback' => __return_true()
to the arguments of both calls to
register_rest_route()
Forum: Plugins
In reply to: [Runkeeper] [Plugin: Runkeeper] iFrame is caped.Hello,
I actually can’t see the Runkeeper map in the example you posted. I have just updated the plugin though, so you may want to try installing the update and try again. The new version allows you to tweak the size and offset of the iFrame to solve any alyour issues.
Thanks
Peter
Hello,
Thanks for the comment, however your code was stripped out by the Forum so I can’t quite see what you’ve done.
If you want to have another go at detailing what you’ve done, I’m always interested in hearing suggestions.Peter