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

PHP 7.2 Compability issue #2

Open
mrmarten opened this issue Nov 25, 2021 · 0 comments
Open

PHP 7.2 Compability issue #2

mrmarten opened this issue Nov 25, 2021 · 0 comments

Comments

@mrmarten
Copy link

Hello Markus,

It seems when your using PHP 7.2 that it breaks the plugin with an deprecated function.

[22-Nov-2021 16:20:29 UTC] PHP Deprecated: Function create_function() is deprecated in D:\home\site\wwwroot\wp-content\plugins\azure-cognitive-service-personalizer \widget_rank.php on line 292 [22-Nov-2021 16:20:29 UTC] PHP Notice: wp_enqueue_script was called <strong>incorrectly</strong>. Scripts and styles should not be registered or enqueued until the <code>wp_enqueue_scripts</code>, <code>admin_enqueue_scripts</code>, or <code>login_enqueue_scripts</code> hooks. This notice was triggered by the <code>microsoft-personalizer-frontend</code> handle. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.3.0.) in D:\home\site\wwwroot\wp-includes\functions.php on line 5663

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

No branches or pull requests

1 participant