• Resolved cd

    (@debe13)


    Question 1: How to fix the Problem: Timeout Error.

    Shown Error: TIMEOUT ERROR: Could not retrieve Scriptures from American Bible Society API.

    How I integrated the API:
    I registered for an API, and have now a live API of ABS.
    I regenerated an API, but the Problem remains.
    I put the API into the plugin, the plugin fetches the englisch bible versions, so the API should work.

    I pasted the shortcode: [bible-reading-plan source=”ABS” reading_plan=”mcheyne” version=”KJV-P”] into WordPress. But it does not work.

    I searched in the forum and tested different PHP versions (7.4, 8.0 and 8.2) but the error remains.

    Thank you for your support.

    Question 2: How do I fetch other languages?

    I want to integrate a german bible. But there is no hint, how to integrate a bible in another language. There are 3 german bibles on the ABS website. Where do I find the fitting bible abbreviations and codes for languages. Thank you for a hint.

    The page I need help with: [log in to see the link]

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author drmikegreen

    (@drmikegreen)

    1. Make sure the double-quotes (“) in [bible-reading-plan source=”ABS” reading_plan=”mcheyne” version=”KJV-P”] are simple double-quotes, not the quotes that are often used in text presented on a page. I.e., it is probably better to type in the shortcode, than to copy and paste it.
    2. There are no Languages other than English presently available via the American Bible Society API for this plugin. There are, however, over 1500 other languages, including German, available via the Bible Brain (aka Digital Bible Platform — DBP) API. (The upcoming version of this plug will also provide many with audio as well.) In the future. we hope to also offer more languages via the American Bible Society API.

    Let me know whether or not I have answered your questions.

    Plugin Author drmikegreen

    (@drmikegreen)

    There also might be the possibility that your Internet Service Provider is blocking calls to the API.

    Thread Starter cd

    (@debe13)

    Thanks for your support. I typed in the double-quotes manually. but nothing changed. It was a good hint with the API-Call, so I remembered, to deactivate Wordfence Security. (It can block API). But it did not make a difference. So I deactivated all plugins, at least, now the headline: “Sunday 21 January 2024” was displayed. After that, there occurred a critical error on the website. A WordPress error output. With a link to Get more information about the problem solving in wordpress (translated to english). So now, apparently, there are some conflicts. I tested again with different themes, PHP-Versions, but i can not get a solution. I activated debugging mode, and I will send you some information, maybe it can help you?

    Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /www/htdocs/.../wp-content/plugins/bible-reading-plans/bible-reading-plans-class.inc.php:959 Stack trace: #0 /www/htdocs/.../wp-content/plugins/bible-reading-plans/bible-reading-plans-class.inc.php(1228): BibleReadingPlans->add_date_picker_ui() #1 /www/htdocs/.../wp-content/plugins/bible-reading-plans/bible-reading-plans-class.inc.php(1456): BibleReadingPlans->date_picker() #2 /www/htdocs/.../wp-content/plugins/bible-reading-plans/bible-reading-plans-class.inc.php(889): BibleReadingPlans->get_bible_reading_plan('Sunday 21 Janua...') #3 /www/htdocs/.../wp-includes/class-wp-hook.php(324): BibleReadingPlans->putBibleReadingPlan('') #4 /www/htdocs/.../wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array) #5 /www/htdocs/.../wp-includes/plugin.php(517): WP_Hook->do_action(Array) #6 /www/htdocs/.../wp-admin/admin-ajax.php(188): do_action('wp_ajax_put_bib...') #7 {main} thrown in /www/htdocs/.../wp-content/plugins/bible-reading-plans/bible-reading-plans-class.inc.php on line 959
    • This reply was modified 10 months, 2 weeks ago by cd.
    Plugin Author drmikegreen

    (@drmikegreen)

    I will try to see what I can do to fix this tomorrow.

    Thread Starter cd

    (@debe13)

    Thank you for your investigation. I figured out, that a conflict occures with the plugin tablepress. With the plugin “tablepress” the only displayed headline “Sunday 21 January 2024” disappears.

    • This reply was modified 10 months, 2 weeks ago by cd.
    Plugin Author drmikegreen

    (@drmikegreen)

    I cannot repeat the error you report, even with TablePress activated. See Reported Timeout Error Test. That page uses exactly the shortcode you do: [bible-reading-plan source=”ABS” reading_plan=”mcheyne” version=”KJV-P”].

    Are you certain that your ISP is not blocking the call to the API?

    Thread Starter cd

    (@debe13)

    I had a different Problem, accessing my nextcloud. The Webhost had configured some DDoS-Protection, blocking my access to my nextcloud via app. After the Webhost changed the setting, nextcloud is now accessible and your plugin is now working better.

    But however, it takes with ABS a long time to retrieve the information from the API, and the bible content remains empty.

    See: https://bibelstudienmaterial.org/32902-2/

    However, meanwhile, i received an API from DBP, and it seems, it works better in every aspect.

    Looking forward, to wait for the audio bible options.

    Thanks for your support and your helpful hints.

    Plugin Author drmikegreen

    (@drmikegreen)

    I am very glad you’ve been able to get the plugin working. I’m increasing the timeout by 10 seconds in the next version. That might help the ABS to complete loading.

    Unhappily, I learned yesterday that, while the DBP API provides audio for its translations in many, many languages, it does not have audio for any of its German translations. 🙁

    Plugin Author drmikegreen

    (@drmikegreen)

    Please let me know whether or not you have further questions.

    rrmac55

    (@rrmac55)

    Hi,

    Sorry to reopen an old thread (Let me know if I should make a new one), but I’m having this same error with the ESV api. The issue began a few days ago. I have tried disabling all other plugins and that doesn’t seem to solve the issue. I’ve also tried using ABS api and having the same issue. I use elementor as my web design plugin, but the issue is still present on pages not using elementor. Any ideas of what to try next?

    Ryan

    Update: I received an API key from Bible Brain and the issue went away. Weirdly, I switched back to the ESV API and it working fine. Something about using the different API solved the issue for me.

    Thanks for all the work you put into this plug in, our Church is really blessed by it.

    Plugin Author Dave Smith

    (@sophoservices)

    Thank you @rrmac55 , That’s such a weird bug. We’ll have to investigate it. I appreciate you pointing it out to us!

    Plugin Author drmikegreen

    (@drmikegreen)

    @rrmac55, we are very thankful your church is blessed by this plugin! May many continue to by blessed.

Viewing 13 replies - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.