• Hi Josh,
    I mentioned here a while ago that there looked to be an incompatibility with PHP 7.1 and 7.2. (7.0 seems ok) Sorry that I haven’t been able to let you know of the details until now.

    The page/post editor gets messed up if you activate Google fonts and choose a font. If you activate Google fonts but don’t choose a font, things seem ok.

    The other thing I noticed is that if you save a setting in the User tab, it doesn’t work… Shows a bunch of errors if you turn Debug on.

    Hope these can be addressed soon!
    Ken

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter kendawes

    (@kendawes)

    Until Josh gets a chance to update the plugin, here’s the fix…

    In the main.php file…

    Search for…
    add_filter( 'wp_default_editor', create_function('', 'return "tmce";') );
    and replace it with…
    add_filter('wp_default_editor', function() { return 'tmce'; } );

    also, if you have this…

    Search for…
    $font_list[] = $font.'='.strtolower($font);
    insert this directly above it…
    $font_list = [];

    That should take care off the errors for you.

    • This reply was modified 6 years, 2 months ago by kendawes.
    Plugin Author Josh

    (@josh401)

    Ken, you are absolutely an ALL STAR!! I cannot thank you enough for your continued patronage and awesome skills! I simply must do something nice for you in return.

    Okay, I’ll get this updated today or tomorrow. And I’ll find that last email you sent me and take our convo there.

    Thanks Ken!!!!!!!

    Plugin Author Josh

    (@josh401)

    Okay Ken. Got it updated. Please give it a try. I supported backwards compatibility because not everyone will be using PHP7+. Regarding the font_list[] array. I think that is part of the pro plugin. I’ll have to double-check. Getting ready to update that one next.

    Thanks again. And looking forward to seeing if it worked for you.

    Plugin Author Josh

    (@josh401)

    Got it. The other one, font list, was indeed, in pro. Thanks again Ken. Rolling out updates now.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PHP 7.1, 7.2 compatibility’ is closed to new replies.