Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update mustache package to fix PHP 8 error. #2

Merged
merged 6 commits into from
May 20, 2022

Conversation

jeffreyvr
Copy link

The version of the mustache package that is included in the plugin causes an fatal error with PHP 8.

This pull request updates the package to the latest version. I have also added the packages to composer.json to allow for quicker updates in the future.

I haven't found any issues after applying these changes. Tested with PHP 8 and 7.4, but should also work on 5.6.

@bonakor
Copy link

bonakor commented Sep 26, 2021

This also seems to fix this issue: Yoast/wordpress-seo#17453.

@bonakor
Copy link

bonakor commented Sep 26, 2021

But I'm getting this error:
contextual_help is <strong>deprecated</strong> since version 3.3.0! Use get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab() instead.

@jeffreyvr
Copy link
Author

@bonakor That appears to be coming from the scb-framework package which is used in this plugin.

scribu/wp-scb-framework#55

@bonakor
Copy link

bonakor commented Dec 20, 2021

It's making it not that easy to update. Thanks for the heads up

What would you recommend @jeffreyvr ?

@jeffreyvr
Copy link
Author

@bonakor Think I'll use my forked version until the official plugin gets updated. Might also fork the wp-scb-framework package while I'm at it.

@kprajapatii kprajapatii merged commit dc2d634 into AyeCode:master May 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants