• Hi,

    After installing the content type and clicking ‘use’ the page is stuck on ‘loading, please wait’

    Turning on debug mode gives the following error:

    WordPress database error Field 'tutorial_url' doesn't have a default value for query INSERT INTO wp_***_h5p_libraries

    Any suggestions?

    • This topic was modified 5 years, 2 months ago by famiri.
    • This topic was modified 5 years, 2 months ago by famiri.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author icc0rz

    (@icc0rz)

    Hi,
    Which of the content types did you install?
    Also, which PHP and MySQL versions are you running?

    Thread Starter famiri

    (@famiri)

    Hi @icc0rz ,

    Thanks for your reply

    I installed the Multiple Choice, Drag the Words and True/False questions.

    PHP 7.2.12
    MySQL 5.1.61

    Thank you

    Plugin Author icc0rz

    (@icc0rz)

    This is strange.
    Normally $wpdb->insert() fills in a blank default value for this field, however, for some reason this does not happen for you.

    What version of WordPress are you using?

    We’ll add a fix in the next version of the plugin that should solve this issue, however, it would nice to know what’s causing it.

    Thread Starter famiri

    (@famiri)

    Hi @icc0rz

    We are using WP ver 5.1.1

    It is a staging environment, not sure if that should be relevant as I can use perfectly on my local WP (vanilla 5.1.1)

    The source of the issue is what I am after too. Once I come across a solution I will post here

    Thank you

    Plugin Author icc0rz

    (@icc0rz)

    Hm, yes wondering if it could be something with the MySQL config or the cloning of the database.
    Anyway, I added the fix for the next version.

    Thread Starter famiri

    (@famiri)

    Hi @icc0rz

    I came across this Jquery error using the Inspect/developer mode on Chrome when the ‘loading, please wait’ page comes up. This error only shows up when I get to that stage and not before

    ‘Jquery error screenshot’

    Would this give you more information to help me with my issue?

    Best regards,
    Fardin

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Stuck on ‘loading, please wait’’ is closed to new replies.