Forum Replies Created

Viewing 15 replies - 1 through 15 (of 15 total)
  • Thread Starter 4csmedia

    (@4csmedia)

    Hello Sanja,
    Thank you for your reply, but that is not the issue in this case.
    System tweaks are not enabled on any of the sites.

    It used to work, so that’s why I asked whether something has changed since 5.3

    Kindest regards,
    Robert

    Thread Starter 4csmedia

    (@4csmedia)

    Hello Albert,
    Thank you for your reply and I managed to get it to work while trying to get debug files.

    When I enabled debug, I saw fatal errors pop-up in my server log files:
    Backend fatal error: PHP Fatal error: require_once(): Failed opening required ‘ABSPATHwp-settings.php’

    I managed to solve this by adding the following code to wp-config file:

    /** Absolute path to the WordPress directory. */
    if ( !defined('ABSPATH') )
            define('ABSPATH', dirname(__FILE__) . '/');
    
    /** Sets up WordPress vars and included files. */
    require_once(ABSPATH . 'wp-settings.php');

    Which seems to do the trick, apparently you use the ABSPATH variable too?

    Thread Starter 4csmedia

    (@4csmedia)

    Hello David,

    I can confirm the issue is solved.
    I updated the plugin this morning.

    Thank you for your reply.

    Kindest regards,
    Robert

    4csmedia

    (@4csmedia)

    Hello Angus,

    I send you an email explaining I solved the issue.
    I transferred the complete site to a new host and still had the issue there as well.

    But in the error message, I saw a reference to the path on the old server.
    I searched the database and found 2 references to the old path in the options table.
    I changed those 2 to the path on the new server and ‘hey presto’, problem solved.

    Kindest regards,
    Robert
    4csmedia.com

    4csmedia

    (@4csmedia)

    Hello Angus,

    I seem to have the same issue:
    Warning: fopen(/home4/…/public_html/4csmedia.com/wp-content/plugins/material-design-for-contact-form-7/cf7-material-design.php): failed to open stream: No such file or directory in /home4/detoxtolive/public_html/websites/4csmedia.com/wp-includes/functions.php on line 4832

    Warning: fread() expects parameter 1 to be resource, boolean given in /home4/detoxtolive/public_html/websites/4csmedia.com/wp-includes/functions.php on line 4835

    Warning: fclose() expects parameter 1 to be resource, boolean given in /home4/…/public_html/websites/4csmedia.com/wp-includes/functions.php on line 4838

    Warning: Cannot modify header information – headers already sent by (output started at /home4/…./public_html/websites/4csmedia.com/wp-includes/functions.php:4832) in /home4/…/public_html/websites/4csmedia.com/wp-admin/includes/misc.php on line 1114

    Tried your suggestions but to no avail.

    I also get the following error after re-installing and re-activating the plugin”
    The plugin generated 713 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.

    the website address is 4csmedia.com

    Kindest regards
    Robert

    4csmedia

    (@4csmedia)

    Sorry, I would have to come back to my earlier answer, because the error still exists.
    I do get the error, but the email setting in the notification center defaults back to “All Administrator users” and I do not receive an email that the setting has changed.

    Strange thing is that when I disable the hide backend setting, I do get an email that the new URL is changed to [site.url]\wp-admin.

    Regards,
    Robert

    4csmedia

    (@4csmedia)

    Hello,

    You might want to check your PHP version.
    I had the same issue while my site was running on PHP 5.
    I changed it to use PHP 7.1 and the error disappeared.

    Hope this helps.

    Regards
    Robert

    Thread Starter 4csmedia

    (@4csmedia)

    Ah, OK, thank you for the quick reply.
    I will try a new email address then.

    Issue solved.

    Kindest regards,
    Robert

    4csmedia

    (@4csmedia)

    Cudos to Spacedev, thank you for the solution.
    Worked like a charm, saved me hours of work.

    4csmedia

    (@4csmedia)

    Hello Nikhil,

    I have the same issue as well.
    If I enable header footer elementor, I can’t start Elementor in AE Templates, Posts, Elementor Library, etc.

    I get a Java error in my console:

    JQMIGRATE: Migrate is installed with logging active, version 1.4.1
    jquery.smartmenus.js?ver=1.0.1:667 Uncaught TypeError: Cannot read property 'parentNode' of null
        at $.SmartMenus.menuInit (jquery.smartmenus.js?ver=1.0.1:667)
        at HTMLUListElement.<anonymous> (jquery.smartmenus.js?ver=1.0.1:191)
        at Function.each (jquery.js?ver=1.12.4:2)
        at jQuery.fn.init.each (jquery.js?ver=1.12.4:2)
        at $.SmartMenus.init (jquery.smartmenus.js?ver=1.0.1:191)
        at new $.SmartMenus (jquery.smartmenus.js?ver=1.0.1:116)
        at HTMLDivElement.<anonymous> (jquery.smartmenus.js?ver=1.0.1:1176)
        at Function.each (jquery.js?ver=1.12.4:2)
        at jQuery.fn.init.each (jquery.js?ver=1.12.4:2)
        at jQuery.fn.init.$.fn.smartmenus (jquery.smartmenus.js?ver=1.0.1:1175)
    menuInit @ jquery.smartmenus.js?ver=1.0.1:667
    (anonymous) @ jquery.smartmenus.js?ver=1.0.1:191
    each @ jquery.js?ver=1.12.4:2
    each @ jquery.js?ver=1.12.4:2
    init @ jquery.smartmenus.js?ver=1.0.1:191
    $.SmartMenus @ jquery.smartmenus.js?ver=1.0.1:116
    (anonymous) @ jquery.smartmenus.js?ver=1.0.1:1176
    each @ jquery.js?ver=1.12.4:2
    each @ jquery.js?ver=1.12.4:2
    $.fn.smartmenus @ jquery.smartmenus.js?ver=1.0.1:1175
    onInit @ frontend.js?ver=1.9.5:sourcemap:1050
    self.(anonymous function) @ frontend.js?ver=1.8.2:sourcemap:2193
    Module.trigger @ frontend.js?ver=1.8.2:sourcemap:2309
    self.(anonymous function) @ frontend.js?ver=1.8.2:sourcemap:2193
    init @ frontend.js?ver=1.8.2:sourcemap:2215
    Module @ frontend.js?ver=1.8.2:sourcemap:2323
    child @ frontend.js?ver=1.8.2:sourcemap:2339
    child @ frontend.js?ver=1.8.2:sourcemap:2339
    child @ frontend.js?ver=1.8.2:sourcemap:2339
    module.exports @ frontend.js?ver=1.9.5:sourcemap:1069
    _runHook @ frontend.js?ver=1.8.2:sourcemap:2007
    doAction @ frontend.js?ver=1.8.2:sourcemap:2040
    ElementsHandler.runReadyTrigger @ frontend.js?ver=1.8.2:sourcemap:91
    (anonymous) @ frontend.js?ver=1.8.2:sourcemap:47
    each @ jquery.js?ver=1.12.4:2
    each @ jquery.js?ver=1.12.4:2
    runElementsHandlers @ frontend.js?ver=1.8.2:sourcemap:46
    ElementsHandler.initHandlers @ frontend.js?ver=1.8.2:sourcemap:62
    initFrontend @ editor.js?ver=1.8.2:1720
    onPreviewLoaded @ editor.js?ver=1.8.2:1974
    dispatch @ jquery.js?ver=1.12.4:3
    r.handle @ jquery.js?ver=1.12.4:3

    And in my debug log I have several lines with the error:
    Cannot assign an empty string to a string offset in class.wp-scripts.php

    Can you help here?

    Thanks,
    Kindest regards,
    Robert

    • This reply was modified 7 years ago by 4csmedia.
    Thread Starter 4csmedia

    (@4csmedia)

    Hello Marqas,
    Yes, I do and I noticed something.
    I have AMP for WP installed on 3 different client sites now.

    What I noticed is that when I have the option “Auto Add AMP in Menu URL” and “Mobile Redirection” both on, the redirection seems to work on a mobile device.

    But as soon as I turn off the “Auto Add AMP in Menu URL” option, it seems to stop working.

    I don’t know if that makes sense to you, but maybe something to look into.

    Thank you again.
    Kind regards,
    Robert

    Thread Starter 4csmedia

    (@4csmedia)

    Does anyone have an idea why mobile redirect might not work?
    I have this issue on 2 of my websites now and can’t seem to solve it.
    Any suggstions would be welcome.

    Regards
    Robert

    Thread Starter 4csmedia

    (@4csmedia)

    HM, I might still need some help.

    After I changed the menu it seems the “Mobile Redirection” isn’t working anymore, although I’m not sure it is related.

    I tried turning the option of and on again, didn’t solve it
    I also cleared the cache (autoptimize, wp fastest cach, cloudflare)
    I do have the page rule set in cloudflare.

    If I do fetch as google for https://resilico.com/amp, I get a redirect warning:
    This URL redirected to:
    https://www.resilico.com/amp/

    That might be an issue, because that page will probably be then redirected again to https://resilico.com/

    Any ideas?

    Regards
    Robert

    Thread Starter 4csmedia

    (@4csmedia)

    OK, I created a work around.
    I turned “Auto Add AMP in Menu URL” off and created a new menu just for AMP.
    I added the menu items as URL’s and added the /AMP behind the url’s except for the URL to the register page.

    Works like a charm.
    This works in my case because the website isn’t that big and has just 5 menu entries.

    Regards
    Robert
    4C’s Media

    Thread Starter 4csmedia

    (@4csmedia)

    The strange thing is, it doesn’t happen all the time. I sometimes can try it for 6-7 times before the error pops up.

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