Can you please suggest where and how to change the backsplash to forward slash in the plugin?
I am asking because I do not use Windows.
Hello Collins! I’ve removed the fix and applied your solution and it works fine! With your code, all JS and CSS files are correct. Tks!
Hello Collins! I found other problem related with the not found assets. After implement your solution, in admin, all works. But, in front, after load the form in sidebar, I have one error in the console:
GET http://localhost/my-site/wp-content/plugins/mailoptinvendormailoptin%0Coresrc/assets/images/spinner.gif 403 (Forbidden)
I think the problem is in the CSS block printed in the page. But I don’t know how to solve. The MAILOPTIN_ASSETS_URL constant seems works fine.
I think I missed normalizing that url.
I will get back to you on this later
Click on the error and tell me where exactly the gif file is being called.
Can’t spot it at my end.
Hello Collins! Spinner works! Assets in admin/front works! Customizer don’t.
See the customizer warings:
Warning: include(D:/xamp-7-1/htdocs/my-site/wp-content/plugins/mailoptin/vendor/mailoptin/core/src/Base.php/Admin/Customizer/OptinForm/optin-form-preview.php): failed to open stream: No such file or directory in D:\xamp-7-1\htdocs\my-site\wp-includes\template-loader.php on line 74
Warning: include(): Failed opening ‘D:/xamp-7-1/htdocs/my-site/wp-content/plugins/mailoptin/vendor/mailoptin/core/src/Base.php/Admin/Customizer/OptinForm/optin-form-preview.php’ for inclusion (include_path=’D:\xamp-7-1\php\PEAR’) in D:\xamp-7-1\htdocs\my-site\wp-includes\template-loader.php on line 74
Are you sure you are testing with your fix removed?
Please double test.
Goto Setting >> Optin campaign and clear optin cache.
Let me know if that fixes the issue.
I cleared local cookies (I can’t find optin cache) and doesn’t works.
Not local cookies.
Click the settings menu link
Click the “optin campaign” tab
Find the “clear cache” button and click it