• Resolved Farhad Sakhaei

    (@farhad0)


    Hi,

    Thank you for creating this great plugin,
    I get this error when I enable the option : “WordPress Translation Caching”
    This error occures in admin area only (I think)

    PHP Fatal error:  Uncaught ValueError: Path cannot be empty in /myfilespath/wp-includes/pomo/streams.php:169
    Stack trace:
    #0 /myfilespath/wp-includes/pomo/streams.php(169): fopen('', 'rb')
    #1 /myfilespath/wp-includes/pomo/mo.php(46): POMO_FileReader->__construct('')
    #2 /myfilespath/wp-content/plugins/docket-cache/includes/src/MoCache.php(110): MO->import_from_file('')
    #3 /myfilespath/wp-content/plugins/docket-cache/includes/src/MoCache.php(74): Nawawi\DocketCache\MoCache->get_translation('11b19dc47643f5f...', '404 Monitor', Array)
    #4 /myfilespath/wp-includes/l10n.php(195): Nawawi\DocketCache\MoCache->translate('404 Monitor')
    #5 /myfilespath/wp-includes/l10n.php(339): translate('404 Monitor', 'rank-math')
    #6 /myfilespath/wp-content/plugins/seo-by-rank-math/includes/module/class-manager.php(107): esc_html__('404 Monitor', 'rank-math')
    #7 /myfilespath/wp-includes/class-wp-hook.php(324): RankMath\Module\Manager->setup_core(Array)
    #8 /myfilespath/wp-includes/plugin.php(256): WP_Hook->apply_filters(Array, Array)
    #9 /myfilespath/wp-content/plugins/seo-by-rank-math/includes/traits/class-hooker.php(106): apply_filters_ref_array('rank_math/modul...', Array)
    #10 /myfilespath/wp-content/plugins/seo-by-rank-math/includes/module/class-manager.php(89): RankMath\Module\Manager->do_filter('modules', Array)
    #11 /myfilespath/wp-includes/class-wp-hook.php(324): RankMath\Module\Manager->setup_modules('')
    #12 /myfilespath/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
    #13 /myfilespath/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #14 /myfilespath/wp-settings.php(682): do_action('after_setup_the...')
    #15 /myfilespath/wp-config.php(77): require_once('/myfilespath/...')
    #16 /myfilespath/wp-load.php(50): require_once('/myfilespath/...')
    #17 /myfilespath/wp-admin/admin.php(34): require_once('/myfilespath/...')
    #18 {main}
    thrown in /myfilespath/wp-includes/pomo/streams.php on line 169
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Nawawi Jamili

    (@nawawijamili)

    Hi there,

    It seems that the translation file does not exist. This will be fixed in the next release to handle issues like this. While waiting for the next release, please disable the translation cache.

    Thanks.

    Plugin Author Nawawi Jamili

    (@nawawijamili)

    Hi,

    I’m marking this thread as resolved. Feel free to open a new topic if you have further questions.

    Thanks.

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

The topic ‘PHP Fatal error’ is closed to new replies.