Forum Replies Created

Viewing 15 replies - 1 through 15 (of 22 total)
  • Thread Starter scottmotion

    (@scottmotion)

    Yes, EA would show nothing but a blank calendar with TEC deactivated. However it is difficult to completely test this as I am working on a live site. I have received tentative approval to switch to TEC for both the website calendar and to bring events into our app via the API. In fact when I installed TEC I found that organization had previously used it around 2019 as there was still leftover data in the database. The organization is considering moving away from Elementor, so my hope is to use TEC on its own (without Elementor or EA) and apply a template so we’re not locked into either of those plugins.

    Unless you know of any other optimization techniques related to using TEC I think we can consider this ticket closed, as raising the memory limit solved the Elementor loading issue. Thank you for taking the time to work with me on this issue. If you have any other questions for me regarding our implementation I am happy to share what I know.

    Thread Starter scottmotion

    (@scottmotion)

    Yes, of course. We already have a calendar page which contains an Event Calendar widget provided by Essential Addons. The goal here is to use TEC to manage the ‘events’ and have EA display them on the calendar widget. The whole problem started because I could not load that page to set TEC as the source for the calendar events. The EA widget just puts events in the page content so they’re not accessible through the REST API.

    We may switch over to TEC completely once everything is resolved and tested, but I could only advocate for this change.

    Thread Starter scottmotion

    (@scottmotion)

    Here are the steps I took this morning:

    Initial config (before enabling TEC): PASS

    Performed these isolated tests with The Events Calendar plugin enabled:

    Disable all minification and clear cache: FAIL

    define( ‘WP_MEMORY_LIMIT’, ‘324M’ );
    and
    define( ‘WP_MAX_MEMORY_LIMIT’, ‘324M’ );: PASS (previous limit was default 256 and was not set in wp-config.php)

    Disable ‘Essential Addons for Elementor’ plugin: PASS

    Enable Debugging (per TEC guide) with initial config and The Events Calendar plugin enabled:

    FATAL ERROR:
    [10-Aug-2025 18:21:14 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 16531408 bytes) in /home/username/example.com/wp-content/plugins/elementor/core/common/modules/ajax/module.php on line 270

    There were other Warnings and Deprecations, mostly about loading translations too early, but these also stood out:
    [10-Aug-2025 18:21:25 UTC] PHP Warning: preg_match(): Compilation failed: quantifier does not follow a repeatable item at offset 2 in /home/username/example.com/wp-includes/class-wp.php on line 238
    [10-Aug-2025 18:21:25 UTC] PHP Warning: preg_match(): Compilation failed: quantifier does not follow a repeatable item at offset 2 in /home/username/example.com/wp-includes/class-wp.php on line 239

    Probably unrelated, but it should be noted that without TEC enabled the Elementor editor (for the calendar page) takes up to one minute to load, with admin-ajax.php taking 48 sec on one of the several calls. With TEC enabled and memory limit increased the editor loads in about 40 seconds, with admin-ajax taking around 16sec on the longest call.

    So raising the memory limit seems to work. We are on DreamHost shared.

    I am having the same issue with cookies enabled. Even from admin side I cannot pass the check to re-enable Built-in Math Captcha. Error below:

    [Tue Feb 25 01:13:25.086611 2025] [fcgid:warn] [pid 78965:tid 139623847495232] [client XX.XXX.XX.XX:XXXXX] mod_fcgid: stderr: PHP Warning: Cannot modify header information – headers already sent by (output started at /home/XXXXXXXX/XXXXXXXXX.com/wp-content/themes/blocksy/header.php:12) in /home/XXXXXXXX/XXXXXXXXX.com/wp-content/plugins/advanced-google-recaptcha/libs/functions.php on line 1318, referer: https://www.XXXXXXXX.com/register/

    The tutorial should list which version of WP and packages are being used. It says to use latest, but package.json is never shown so there’s no way to conform to the tutorial.

    • This reply was modified 1 year, 11 months ago by scottmotion.
    Thread Starter scottmotion

    (@scottmotion)

    Looks like your update has fixed the problem! I am able to view the site both logged in and out, and the forum appearance and settings seems to be correct.

    Its running on the site now if you need to check it out.

    Side note: I am on a shared hosting plan and can’t really say how well the site is performing, although my host is usually pretty generous with resources. Also I have a few other things with users/profiles going on in the background, like redirection, author base url rewrite, etc, which could be having an impact.

    Thread Starter scottmotion

    (@scottmotion)

    I sent the info you requested.

    Issue was site-wide. Every page I visited returned 500, except when I was already logged in.

    I have just shy of 10K registered users

    Thread Starter scottmotion

    (@scottmotion)

    I’m using BuddyPress, but I don’t believe i’m using any of the shortcodes for BP or BSP

    I think I recently updated TablePress, Stackable, Forum Permissions bbPress, and my theme Blocksy and its companion plugin.

    I have 1 or 2 old warnings from other plugins, but nothing else related to BP/BBP/BSP and no other fatals.

    Reverting to 5.6.2 fixes the problem.

    EDIT: Found this warning sometime before the fatal errors:

    [Wed Aug 16 11:19:35.067608 2023] [fcgid:warn] [pid 142103:tid 3589309196032] [client 114.119.153.72:24211] mod_fcgid: stderr: PHP Warning: Attempt to read property “ID” on null in /home/****/****.com/wp-content/plugins/bbp-style-pack/includes/functions.php on line 2466, referer: https://www.****.com/forums/forum/*****/

    • This reply was modified 2 years, 9 months ago by scottmotion.
    • This reply was modified 2 years, 9 months ago by scottmotion.
    Thread Starter scottmotion

    (@scottmotion)

    Hey Aurovrata I don’t have this metabox. In fact I was just watching one of your videos and I don’t have any of the metaboxes you have, only ‘Status’, and nothing else is available under screen options. Do I need the Smart Grid plugin installed or have activated the metaboxes some other way?

    screenshot

    Thread Starter scottmotion

    (@scottmotion)

    Thanks, the warning is now gone!

    For reference I came across a post stating this was upgraded to a Warning in PHP 8.1

    Thread Starter scottmotion

    (@scottmotion)

    Absolutely perfect! Finally got it set so only Admins can post or reply in the Announcements forum! I can’t believe this isn’t a core option. Thanks so much for sorting this out!

    Thread Starter scottmotion

    (@scottmotion)

    Excellent! Everything appears to be working as expected!

    Thread Starter scottmotion

    (@scottmotion)

    Thank you Robin!

    Thread Starter scottmotion

    (@scottmotion)

    That worked to get rid of the error and now it proceeds to the cart page! However if I try to remove items from the cart or navigate around it breaks the cart. Then I have to go into the db and delete the session and wipe the browser cache which resets the cart, but it always breaks again. Basically it seems to work on a new user’s first visit but will break if they try to modify the cart or leave the site.

    Thread Starter scottmotion

    (@scottmotion)

    I made the modification and uploaded the file to /wp-content/themes/my-theme-name/download-monitor/add-to-cart.php however the class is still being applied. Do I need to replicate the folder structure as well?

Viewing 15 replies - 1 through 15 (of 22 total)