Skip to content

Не работает на старых Wordpress #63

Open
Yuribtr opened this issue May 23, 2021 · 0 comments
Open

Не работает на старых Wordpress #63

Yuribtr opened this issue May 23, 2021 · 0 comments

Comments

@Yuribtr
Copy link

Yuribtr commented May 23, 2021

Из за использовния функции register_post_meta() (которая появилась в 4.9.8), при установке на версию 4.8.17 вылетает ошибка:

[23-May-2021 14:11:32 UTC] PHP Fatal error: Uncaught Error: Call to undefined function register_post_meta() in /home/site/public_html/wp-content/plugins/yandexnews-feed-by-teplitsa/inc/hooks.php:122 Stack trace: #0 /home/site/public_html/wp-includes/class-wp-hook.php(298): TstYandexNewsHooks::register_post_meta('') #1 /home/site/public_html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) #2 /home/site/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /home/site/public_html/wp-settings.php(448): do_action('init') #4 /home/site/public_html/wp-config.php(83): require_once('/home/site...') #5 /home/site/public_html/wp-load.php(37): require_once('/home/site...') #6 /home/site/public_html/wp-admin/admin.php(31): require_once('/home/site...') #7 /home/site/public_html/wp-admin/plugins.php(10): require_once('/home/site...') #8 {main} thrown in /home/site/public_html/wp-content/plugins/yandexnews-feed-by-teplitsa/inc/hooks.php on line 122

В описании модуля ничего не сказано про то что поддержка старых WP отвалилась, люди буду ставить и потом получать белый экран.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant