• Resolved olstadesigns

    (@olstadesigns)


    Hi,

    I just did a domain remap to make my website go live and I now have this error in the log file:

    [07-Mar-2019 12:24:05 UTC] PHP Fatal error: Cannot redeclare wptexturize() (previously declared in /home2/olstacor/public_html/wp-includes/formatting.php:51) in /home2/olstacor/public_html/wp-includes/formatting.php on line 315

    What could this be. I have tried to reinstall the plugin with no luck.

    • This topic was modified 5 years, 8 months ago by olstadesigns.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Pektsekye

    (@pektsekye)

    Hello,

    Do you have this error if you disable the YMM plugin?

    Stanislav

    Thread Starter olstadesigns

    (@olstadesigns)

    If I disable the plugin I will not be able to test to get the error. This error happens when I select the first dropdown box and wait for the next dropdown box to activate.

    Plugin Author Pektsekye

    (@pektsekye)

    Hello,

    Check if you have word “require_once” in the file:
    wp-content/plugins/ymm-search/ymm_ajax.php

    Stanislav

    Thread Starter olstadesigns

    (@olstadesigns)

    Hi, no I don’t I literally just got a plugin update notification for version 1.0.10 but there doesn’t seem to be this file version for “Make Model Engine”.

    You mention in there:
    This update will make it load second drop-down on WordPress 5.1
    If you have a modified version just replace all require() with require_once() in the file:
    wp-content/plugins/ymm-search/ymm_ajax.php

    Shall I just replace all intances of or “require” to “require_once” in this file?

    Thread Starter olstadesigns

    (@olstadesigns)

    Ok I replaced these and it works now. I missed a sneaky one on line 12 which was the one that pointed to formatting.php which was the error I was having the issue with.

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Plugin not working after Domain Remap’ is closed to new replies.