• Resolved flashday

    (@flashday)


    Hi!
    We v’got fatal error ( with the last version Post Gallery ):
    [24-Oct-2018 18:02:16 UTC] PHP Fatal error: Uncaught Error: Call to undefined function wp_create_nonce() in /home/svcentre/www/wp-includes/functions.php:1470
    Stack trace:
    #0 /home/svcentre/www/wp-admin/includes/file.php(1765): wp_nonce_field(‘filesystem-cred…’, ‘_fs_nonce’, false, true)
    #1 /home/svcentre/www/wp-content/plugins/simple-post-gallery/vendor/10quality/wp-file/src/File.php(67): request_filesystem_credentials(‘https://www.sv-c…’, ‘ftpext’, false, false, Array)
    #2 /home/svcentre/www/wp-content/plugins/simple-post-gallery/vendor/10quality/wp-file/src/File.php(45): TenQuality\WP\File->authenticate(‘https://www.sv-c…’)
    #3 /home/svcentre/www/wp-content/plugins/simple-post-gallery/vendor/10quality/wpmvc-phpfastcache/src/psr4/phpFastCache.php(218): TenQuality\WP\File::auth()
    #4 /home/svcentre/www/wp-content/plugins/simple-post-gallery/vendor/10quality/wpmvc-phpfastcache/src/psr4/phpFastCache.php(167): WPMVC\PHPFastCache\phpFastCache::htaccessGen(‘/home/svcentre/…’, true)
    #5 /home/svcentre/www/wp-content/plugins/simple-post-gallery/vendor/10qua in /home/svcentre/www/wp-includes/functions.php on line 1470

    [24-Oct-2018 18:02:16 UTC] PHP Warning: Use of undefined constant FS_CHMOD_FILE – assumed ‘FS_CHMOD_FILE’ (this will throw an Error in a future version of PHP) in /home/svcentre/www/wp-content/plugins/simple-post-gallery/vendor/10quality/wp-file/src/File.php on line 113

    [24-Oct-2018 18:02:16 UTC] PHP Fatal error: Uncaught Error: Call to undefined function wp_generate_password() in /home/svcentre/www/wp-admin/includes/file.php:641
    Stack trace:
    #0 /home/svcentre/www/wp-admin/includes/file.php(637): wp_tempnam(‘/home/svcentre/…’, ‘/tmp/’)
    #1 /home/svcentre/www/wp-admin/includes/class-wp-filesystem-ftpext.php(154): wp_tempnam(‘/home/svcentre/…’)
    #2 /home/svcentre/www/wp-content/plugins/simple-post-gallery/vendor/10quality/wp-file/src/File.php(113): WP_Filesystem_FTPext->put_contents(‘/home/svcentre/…’, ‘order deny, all…’, 420)
    #3 /home/svcentre/www/wp-content/plugins/simple-post-gallery/vendor/10quality/wpmvc-phpfastcache/src/psr4/phpFastCache.php(223): TenQuality\WP\File->write(‘/home/svcentre/…’, ‘order deny, all…’)
    #4 /home/svcentre/www/wp-content/plugins/simple-post-gallery/vendor/10quality/wpmvc-phpfastcache/src/psr4/phpFastCache.php(167): WPMVC\PHPFastCache\phpFastCache::htaccessGen(‘/home/svcentre/…’, true)
    #5 /home/svcentre/www/wp-content/plugins/simple-post-gallery/vendor/10quality/wpmvc-phpfastcach in /home/svcentre/www/wp-admin/includes/file.php on line 641

    site on pressjitsu hosting
    https://pressjitsu.com/

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor 10Quality

    (@10quality)

    This was most likely caused by cache folder permissions, we have moved logs/cache to another path (inside wp-content) to avoid this type of issues.

    Thread Starter flashday

    (@flashday)

    We updated the plugin

    The problem still happen:

    [03-Dec-2018 13:10:20 UTC] PHP Fatal error: Uncaught Error: Call to undefined function wp_create_nonce() in /home/svcentre/www/wp-includes/functions.php:1470
    Stack trace:
    #0 /home/svcentre/www/wp-admin/includes/file.php(1765): wp_nonce_field(‘filesystem-cred…’, ‘_fs_nonce’, false, true)
    #1 /home/svcentre/www/wp-content/plugins/simple-post-gallery/vendor/10quality/wp-file/src/File.php(67): request_filesystem_credentials(‘https://www.sv-c…’, ‘ftpext’, false, false, Array)
    #2 /home/svcentre/www/wp-content/plugins/simple-post-gallery/vendor/10quality/wp-file/src/File.php(45): TenQuality\WP\File->authenticate(‘https://www.sv-c…’)
    #3 /home/svcentre/www/wp-content/plugins/simple-post-gallery/vendor/10quality/wpmvc-phpfastcache/src/psr4/phpFastCache.php(218): TenQuality\WP\File::auth()
    #4 /home/svcentre/www/wp-content/plugins/simple-post-gallery/vendor/10quality/wpmvc-phpfastcache/src/psr4/phpFastCache.php(167): WPMVC\PHPFastCache\phpFastCache::htaccessGen(‘/home/svcentre/…’, true)

    Errors:

    [04-Dec-2018 06:26:33 UTC] DataBase WordPress error Table ‘svcentre.wp_woocommerce_termmeta’ doesn’t exist в ответ на запрос select * from wp_woocommerce_termmeta where meta_key = ‘product_cat’ and meta_value like ‘%571%’, выполненный require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/vega-child/woocommerce/single-product.php’), wc_get_template_part, load_template, require(‘/themes/vega-child/woocommerce/content-single-product.php’), tokokoo_display_related_product, woocommerce_related_products, wc_get_template, include(‘/themes/vega-child/woocommerce/single-product/related.php’), wc_get_template_part, load_template, require(‘/themes/vega-child/woocommerce/content-product.php’), do_action(‘woocommerce_before_shop_loop_item’), WP_Hook->do_action, WP_Hook->apply_filters, Magenest_Productlabel_Category->add_div_container, Magenest_Productlabel_Frontend->getProductLabelbaseOnCat, Magenest_Productlabel_Frontend->get_label_by_cat

    • This reply was modified 5 years, 12 months ago by flashday.
    Plugin Contributor 10Quality

    (@10quality)

    We were able to reproduce this in our testing environment once. I happened when WordPress failed to create the cache or log folders.

    Please create them manually, this will solve the issue. You will need to create the following structure inside the wp-content folder.

    wp-content/wpmvc/log
    wp-content/wpmvc/cache

    Thread Starter flashday

    (@flashday)

    we added folders:
    wp-content/wpmvc/log
    wp-content/wpmvc/cache

    The problem still happen https://prntscr.com/lvdhas :

    it looks like there is a call functions that are not yet declared.

    Thread Starter flashday

    (@flashday)

    We have got such Fatal errors:

    Timestamp: 1545204146 (2018-12-19 07:22:26)
    Level: Fatal
    Message: Uncaught Error: Call to undefined function wp_generate_password() in /home/svcentre/www/wp-admin/includes/file.php:641

    Timestamp: 1545197215 (2018-12-19 05:26:55)
    Level: Fatal
    Message: Uncaught Error: Call to undefined function wp_create_nonce() in /home/svcentre/www/wp-includes/functions.php:1470

    ( if simple gallery swich on only )

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fatal error: Call to undefined function wp_create_nonce()’ is closed to new replies.