• Resolved Li-An

    (@li-an)


    Hello, I just updated my theme (Simplemag 5.0) and I messed with the options so I had to check them again. But I cannot anymore have access to font field – see https://framapic.org/XFShSFFhPNL8/ldtdAWpVtjvj.png

    I desactivate all other extensions, Redux, activate default theme, reactivate Redux then my theme and same problem.

    I installed the theme and Redux on a test site on same hosting… and it worked correctly. The only difference between the two is the location : on my main site, WP is installed in a subdirectory of the domain https://www.li-an.fr/blog/ (and https is not activated on test site).

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor Dōvy Paukstys

    (@dovyp)

    Hmm. That is very odd. It sounds like your site URL is off in your WP Options. Might want to also contact the theme author since they may be doing something different to Redux.

    Have you tried switching to a generic theme, and then installing the Redux plugin and activate Demo Mode?

    Thread Starter Li-An

    (@li-an)

    Hello, I just tested the Demo Mode in Twenty Nineteen… and same problem for Typography options 🙁

    Plugin Contributor Dōvy Paukstys

    (@dovyp)

    Do you have write permissions properly set for uploads folder? That’s also typically a problem.

    Thread Starter Li-An

    (@li-an)

    755 for uploads folder.

    Plugin Contributor Dōvy Paukstys

    (@dovyp)

    So I really don’t think this is Redux based. It’s something to do with the config of your site. Honestly, I bet it’s an issue with site URL or path settings. Check any PHP error logs or JS errors.

    Thread Starter Li-An

    (@li-an)

    I decided to move the site to domain root. Same problem. Here are the logs

    Refused to load the stylesheet ‘https://cdn.jsdelivr.net/select2/3.5.2/select2.css?ver=3.5.2’ because it violates the following Content Security Policy directive: “style-src ‘self’ ‘unsafe-inline’ *.googleapis.com *.google.com *.jquery.com”. Note that ‘style-src-elem’ was not explicitly set, so ‘style-src’ is used as a fallback.

    load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.3.2:8 JQMIGRATE: Migrate is installed, version 1.4.1
    /wp-content/themes/simplemag/images/error-page.png:1 Failed to load resource: the server responded with a status of 404 (Not Found)
    themes.php?page=SimpleMagLi-An:1 Refused to load the script ‘https://ajax.googleapis.com/ajax/libs/webfont/1.5.0/webfont.js?ver=1.5.0’ because it violates the following Content Security Policy directive: “script-src ‘self’ ‘unsafe-inline’ ‘unsafe-eval’ *.videopress.com *.google.com *.wp.com”. Note that ‘script-src-elem’ was not explicitly set, so ‘script-src’ is used as a fallback.

    themes.php?page=SimpleMagLi-An:1 Refused to load the script ‘https://cdn.jsdelivr.net/select2/3.5.2/select2.min.js?ver=3.5.2’ because it violates the following Content Security Policy directive: “script-src ‘self’ ‘unsafe-inline’ ‘unsafe-eval’ *.videopress.com *.google.com *.wp.com”. Note that ‘script-src-elem’ was not explicitly set, so ‘script-src’ is used as a fallback.

    field_typography.min.js?ver=1582358735:1 Uncaught TypeError: j(…).select2 is not a function
    at Object.redux.field_objects.typography.select (field_typography.min.js?ver=1582358735:1)
    at HTMLDivElement.<anonymous> (field_typography.min.js?ver=1582358735:1)
    at Function.each (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.3.2:2)
    at a.fn.init.each (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.3.2:2)
    at HTMLFieldSetElement.<anonymous> (field_typography.min.js?ver=1582358735:1)
    at Function.each (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.3.2:2)
    at a.fn.init.each (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.3.2:2)
    at HTMLFieldSetElement.<anonymous> (field_typography.min.js?ver=1582358735:1)
    at Function.each (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.3.2:2)
    at a.fn.init.each (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.3.2:2)
    themes.php?page=SimpleMagLi-An:1 Refused to load the stylesheet ‘https://cdn.jsdelivr.net/select2/3.5.2/select2.css?ver=3.5.2&#8217; because it violates the following Content Security Policy directive: “style-src ‘self’ ‘unsafe-inline’ *.googleapis.com *.google.com *.jquery.com”. Note that ‘style-src-elem’ was not explicitly set, so ‘style-src’ is used as a fallback.

    Thread Starter Li-An

    (@li-an)

    Mystery is solved. The theme was not properly installed (classic error in subdirectory after dezipping) but, for some reasons, it was recognized by WP and I managed to create a working child-theme via a plugin (I should have been warned as some of these plugins were giving errors).
    By pure chance, I discovered the error and, after desactivating my security extension (Ninja Firewall), everything works fine.

    Thanks for your quick help and sorry for the trouble.

    Plugin Contributor Dōvy Paukstys

    (@dovyp)

    No trouble at all, glad we solved it! Best of luck to you.


    If you’re willing, please do share your experience of Redux with others: https://ww.wp.xz.cn/support/plugin/redux-framework/reviews/#new-post

    🙂

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘choose font does not exist’ is closed to new replies.