I suspect the problem lies with your web hosting service not allowing that API connection or sending the request via IPv6 instead of IPv4.
However please give me the short-code you are using, so that I can test it from my web hosting service to be sure there is not something wrong with it.
Thank you for your quick reply. If it is due to a my web hosting service, how can I do?
The short-code you are using is
[bible-reading-plan reading_plan=”mcheyne” source=”DBP” bible_id=”FRNTLS”]
Thank you again.
Your short-code works just fine on my test server.
I recommend you contact your web hosting service about this. They may be blocking calls to APIs for some reason. Or it may be an IPv6 vs IPv4 issue. Or it may be something else.
Please let me know what they say and whether or not they are able to resolve this for you.
I may not be able to respond more on this until the middle of next week. But I do very much want to see this get resolved for you.
Thank you very much! We shall try it with our web hosting service then.
Hello,
The issue is solved. Our web hosting service helped us to solve it. The error is caused by PHP version higher than 7.4 (we were using PHP version higher thank 8.0)
We would like to ask you, if you please, to upgrade to PHP 8.0 and above so that we can use these recent versions of PHP.
Thank you very much!
That’s great! Thank you and thank your web hosting service.
I should have thought about that possibility myself.
I will fix that as soon as I can and publish a new version with the corrections to make it work with the latest PHP version.
Okay, great ! Thank you in advance.
Well, this turned out to be much more difficult than I thought it would be. But I now have version 2.1.5-beta, which works in the tests I have done with PHP 8.2.
You can download it at https://u.pcloud.link/publink/show?code=XZQcsPVZOcNfDpXqK50A6B3Bw13k7J0zaKS7 and upload it to your plugins.
Please let me know whether or not this works for you. If it does, I’ll publish it as version 2.1.5 to the WordPress repository.
Hello drmikegreen,
Thank you very much for your hard work.
The version 2.1.5 beta is working very well : it is displaying normally the Bible reading plan with PHP 8.1 enabled.
There is just a little problem in the setting, tab 4. When one clicks on it, it takes a little long time and displays the following error :
ERROR: Could not retrieve list of versions from the Bible Brain (aka the Digital Bible Platform) API.
Great!
I’ll look into that problem with retrieving the list of versions and furnish you with a beta-2 version of the plug once I’ve made some progress on that.
OK, @djintelbe, @lblwuser. and @xzave, I now have that 2.1.5-beta-2 version available at:
https://u.pcloud.link/publink/show?code=XZFCGPVZmP7EI4FXEo0373wg3cfqFYXgKdmV
This should resolve the “ERROR: Could not retrieve list of versions from the Bible Brain (aka the Digital Bible Platform) API” issue.
There remains, however, the issue of retrieving and displaying the copyright information for Bible versions from the Bible Brain (aka the Digital Bible Platform) API for which this information was not available for earlier versions of this plugin. Once I have been able to fix this I’ll publish version 2.1.5 to the WordPress repository.
Hello drmikegreen,
Thank you very much for all you did for solving the issues.
The 2.1.5-beta-2 version file is not available ; the link seems to be deleted.
@djintelbe, @lblwuser. and @xzave, I have now committed Version 2.1.5 to the WordPress repository. It corrects code incompatible with PHP 8.2, changes the default version for the DBP API from ESV to NAS, corrects DBP headers to include verse numbers, re-corrects Table of Contents so that it again displays in the language of the page, and corrects some Scripture references for Book of Common Prayer, 2019, Anglican Church in North America.
Please let me know whether or not this resolves the problems you had.
Hello drmikegreen,
Thank you very much for all you did. The plugin is working very well. The problems are all solved.
Be blessed!