Support » Plugin: Child Theme Generator » Child Theme Generator Uncaught Error: Call to undefined function imagettftext()

  • Resolved irvingperez

    (@irvingperez)


    I am trying to create a theme child with Child Theme Generator but I having this error:

    WordPress Error: There has been a critical error on your website. Please check your site admin email inbox for instructions.

    In the email I got this information:

    An error of type E_ERROR was caused in line 453 of the file /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/child-theme-generator/includes/class-child-theme-generator-functions.php. Error message: Uncaught Error: Call to undefined function imagettftext() in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/child-theme-generator/includes/class-child-theme-generator-functions.php:453
    Stack trace:

    #0 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/child-theme-generator/includes/class-child-theme-generator-functions.php(287): Ch_Th_Gen_Functions::create_screenshot_png()
    #1 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/child-theme-generator/admin/class-child-theme-generator-admin.php(197): Ch_Th_Gen_Functions::files_generation()
    #2 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/child-theme-generator/admin/partials/child-theme-generator-admin-display.php(61): Ch_Th_Gen_Admin->section_create()
    #3 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/child-theme-generator/admin/class-child-theme-generator-admin.php(133): include_once(‘/opt/bitnami/ap…’)
    #4 /opt/bitnami/apps/wordpress/htdocs/wp-includes/class-wp-hook.php(287): Ch_Th_Gen_Admin->display_options_page()
    #5 /opt/bitnami/ap

Viewing 1 replies (of 1 total)
  • Plugin Author Serafino

    (@seraph63)

    Hi Irving,

    According to the PHP manual entry for imagettftext():

    This function requires both the GD library and the » FreeType library.

    You must be missing one or both of the required libraries in your PHP build.

    Regards

Viewing 1 replies (of 1 total)
  • The topic ‘Child Theme Generator Uncaught Error: Call to undefined function imagettftext()’ is closed to new replies.