• Resolved squeak24

    (@squeak24)


    Hi

    When I add the shortcode to my privacy page when I try and update the page it says I have a fatal error. However, it publishes it OK.

    When I try and enter the privacy page to edit it, I get a fatal error, I can’t open it. The only way to open is to disable oik or cookie-cat.

    Any idea what is going wrong?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter squeak24

    (@squeak24)

    This is the PHP error I get:

    Fatal error: Uncaught Error: Call to undefined function simplexml_load_file() in /var/www/html/wp-content/plugins/cookie-cat/shortcodes/cookie-cat.php:178 Stack trace: #0 /var/www/html/wp-content/plugins/cookie-cat/shortcodes/cookie-cat.php(216): cookie_cat_info_defaults() #1 /var/www/html/wp-content/plugins/oik/libs/oik-shortcodes.php(229): cookie_cat() #2 /var/www/html/wp-includes/shortcodes.php(343): bw_shortcode_event() #3 [internal function]: do_shortcode_tag() #4 /var/www/html/wp-includes/shortcodes.php(218): preg_replace_callback() #5 /var/www/html/wp-includes/class-wp-hook.php(287): do_shortcode() #6 /var/www/html/wp-includes/plugin.php(212): WP_Hook->apply_filters() #7 /var/www/html/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(1722): apply_filters() #8 /var/www/html/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(505): WP_REST_Posts_Controller->prepare_item_fo in /var/www/html/wp-content/plugins/cookie-cat/shortcodes/cookie-cat.php on line 178

    Thread Starter squeak24

    (@squeak24)

    OK, I fixed it, I didn’t have SimpleXML installed

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal Error’ is closed to new replies.