• Resolved Brotzka

    (@brotzka)


    Hey,

    today I made a fresh setup of WordPress (4.4). After downloading the newest version of the events calendar I tried to install it. It worked, but throws this error:

    Notice: Use of undefined constant GLOB_BRACE – assumed ‘GLOB_BRACE’ in /mnt/webt/b2/02/56747202/htdocs/ariel-atom-club-germany/htdocs/wp-content/plugins/the-events-calendar/src/Tribe/Main.php on line 4682 Warning: glob() expects parameter 2 to be long, string given in /mnt/webt/b2/02/56747202/htdocs/ariel-atom-club-germany/htdocs/wp-content/plugins/the-events-calendar/src/Tribe/Main.php on line 4682 Warning: Invalid argument supplied for foreach() in /mnt/webt/b2/02/56747202/htdocs/ariel-atom-club-germany/htdocs/wp-content/plugins/the-events-calendar/src/Tribe/Main.php on line 4682 Warning: Cannot modify header information – headers already sent by (output started at /mnt/webt/b2/02/56747202/htdocs/ariel-atom-club-germany/htdocs/wp-content/plugins/the-events-calendar/src/Tribe/Main.php:4682) in /mnt/webt/b2/02/56747202/htdocs/ariel-atom-club-germany/htdocs/wp-includes/pluggable.php on line 1228

    This message is permanently appering on the top of my dashboard (debug mode in wp-config is on). After making some changes in the settings of the events calendar and hitting save, an error is thrown and the page only shows the error message from above..

    Any ideas or tipps for solution?

    Thanks!

    https://wordpress.org/plugins/the-events-calendar/

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

    (@brotzka)

    By the way, this is the line in the Main.php which seems to occure the error:
    foreach ( glob( $this->plugin_path . '{common/src,src}/deprecated/*.php', GLOB_BRACE ) as $file ) {

    Plugin Contributor Brian

    (@brianjessee)

    Hi,

    Sorry for the issues you are having. I can help out here.

    I am not able to reproduce on my test site.

    It appears GLOB_BRACE is a PHP constant so I would contact your host to see if they can help fix it.

    Thanks

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

The topic ‘Unknown constant GLOB_BRACE’ is closed to new replies.