Forum Replies Created

Viewing 15 replies - 1 through 15 (of 16 total)
  • Thread Starter Ethan Ferdosi

    (@rightshifttech)

    Hi Adam, I’m afraid not.

    I did a full investigation on the feature and what I realized is that there is not proper filter/actions defined in core WPJM to allow us create a separate plugin without touching the base code. It means that to change the steps, we need to change the core WPJM class files.

    Alternatively, it can be done by introducing a multi-step form e.g. gravity form that replaces the whole default process.

    Let me know if you found better solution.

    Thread Starter Ethan Ferdosi

    (@rightshifttech)

    Thanks @tripflex. Including the php file fixed the issue.

    Thread Starter Ethan Ferdosi

    (@rightshifttech)

    I know it might be off the topic now, but would help me with the override function. I added this as a mu-plugin but fails due to some required classes are not loaded:

    require_once(ABSPATH .'wp-content/plugins/woocommerce/includes/emails/class-wc-email.php');
    require_once(ABSPATH .'wp-content/plugins/woocommerce/includes/emails/class-wc-email-customer-new-account.php');
    
    if( ! function_exists('wp_new_user_notification') ) {
        function wp_new_user_notification($user_id, $deprecated, $notify){
    
        $wc_emails = new WC_Email_Customer_New_Account();
        $wc_emails->trigger($userid, '', false);
        }
    }
    ?>

    I am not a PHP developer so it might be some obvious errors if you can update me please?

    Thread Starter Ethan Ferdosi

    (@rightshifttech)

    Thanks tripflex.

    That should work as an ad-hoc solution but will be good if we have that built-in WP Job Manager. I will post on Github.

    Thread Starter Ethan Ferdosi

    (@rightshifttech)

    I am sorry guys! this was a typo ( however I checked it many times) a “!” at the end of important keyword caused the issue.

    Thanks ??

    Thread Starter Ethan Ferdosi

    (@rightshifttech)

    Thanks Jeff for the quick reply.

    I just found the wp_notify_moderator function which I believe can be overridden for my requirements.

    Thread Starter Ethan Ferdosi

    (@rightshifttech)

    Claudio,

    I haven’t purchased the plugins yet and need to make sure this plugins can answer my needs before paying for that.

    Any other forum you recommend to post this question into?

    Thanks

    Forum: Fixing WordPress
    In reply to: Fatal Memory Issue
    Thread Starter Ethan Ferdosi

    (@rightshifttech)

    Just a quick update that errors are still happening!

    @mark: from my undrestanding the get_memory_usage function returns the memory used by PHP engine, right? so does that means if I open another window and hit the search or upload a file to the site and at the same time refresh the dashboard, I should see the memory usage changed?

    Thread Starter Ethan Ferdosi

    (@rightshifttech)

    Thanks. I’ll give it a go ??

    Forum: Fixing WordPress
    In reply to: Fatal Memory Issue
    Thread Starter Ethan Ferdosi

    (@rightshifttech)

    Nothing for last 10 hours. But definitely I need to set the scheduled backup & wordfence back up and see if the issue returns.

    Forum: Fixing WordPress
    In reply to: Fatal Memory Issue
    Thread Starter Ethan Ferdosi

    (@rightshifttech)

    Just an update on response from hosting provide:

    I talked to them and they confirmed that all 512M is fully assigned to the site and is not shared with any other site on the WHM.

    Also, the guy pointed to the fact that for the log entries happening on the same time/date, the total amount of memory is the sum of all consecutive calls which exceed the 128M. I am not sure though about his opinion but couldn’t find a source on the net to confirm it and like to hear your points.

    And finally, I stopped Wordfence & Scheduled back up since writing this post and hasn’t seen any error. Memory usage is showing 59M in its max reach.

    Also this is another link talking about the same issue and recommending disabling GC. any thoughts?

    Forum: Fixing WordPress
    In reply to: Fatal Memory Issue
    Thread Starter Ethan Ferdosi

    (@rightshifttech)

    MarkRH,

    using TPC Memory Usage plugins, it shows:

    WordPress Memory Limit: 256M
    PHP Memory Limit: 512M

    any idea why it is not picking it up?

    Forum: Fixing WordPress
    In reply to: Fatal Memory Issue
    Thread Starter Ethan Ferdosi

    (@rightshifttech)

    thanks James. I’ll keep you posted .

    Forum: Fixing WordPress
    In reply to: Fatal Memory Issue
    Thread Starter Ethan Ferdosi

    (@rightshifttech)

    Yes, I did.

    Here is the a few lines of log for errors in last couple of hours.

    Do you know anyway that we can monitor real-time memory usage in wordpress, e.g. any plugins or cpanel software etc?

    [29-Jul-2015 22:09:15 UTC] PHP Fatal error: Out of memory (allocated 41680896) (tried to allocate 12160 bytes) in /home/fsuser/public_html/wp-content/plugins/jetpack/modules/sharedaddy/sharing.php on line 359
    [29-Jul-2015 22:09:15 UTC] PHP Fatal error: Out of memory (allocated 14942208) (tried to allocate 49152 bytes) in /home/fsuser/public_html/wp-content/plugins/jetpack/class.jetpack.php on line 2732
    [29-Jul-2015 22:09:15 UTC] PHP Fatal error: Out of memory (allocated 20971520) (tried to allocate 1280 bytes) in /home/fsuser/public_html/wp-content/plugins/woocommerce-subscriptions/classes/class-wc-subscriptions-upgrader.php on line 40
    [29-Jul-2015 22:09:15 UTC] PHP Fatal error: Out of memory (allocated 37486592) (tried to allocate 3072 bytes) in /home/fsuser/public_html/wp-content/plugins/wp-job-manager-wc-paid-listings/includes/class-wc-paid-listings-admin.php on line 16
    [29-Jul-2015 22:09:15 UTC] PHP Fatal error: Out of memory (allocated 13631488) (tried to allocate 12288 bytes) in /home/fsuser/public_html/wp-content/plugins/contact-form-7/includes/contact-form.php on line 442
    [29-Jul-2015 22:09:15 UTC] PHP Fatal error: Out of memory (allocated 25690112) (tried to allocate 3072 bytes) in /home/fsuser/public_html/wp-content/plugins/wordfence/wordfence.php on line 23
    [29-Jul-2015 22:09:15 UTC] PHP Fatal error: Out of memory (allocated 30932992) (tried to allocate 3072 bytes) in /home/fsuser/public_html/wp-content/plugins/wp-job-manager-field-editor/classes/fields.php on line 642
    [29-Jul-2015 22:09:15 UTC] PHP Fatal error: Out of memory (allocated 21233664) (tried to allocate 12288 bytes) in /home/fsuser/public_html/wp-content/plugins/woocommerce-subscriptions/classes/class-wc-subscriptions-upgrader.php on line 55

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