Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content

WordPress (Developer)

199 Topics 1.6k Posts
  • What to do if old theme is not compatible with new php?

    3
    0 Votes
    3 Posts
    203 Views
    jdaviescoatesJ

    @jdaviescoates said in What to do if old theme is not compatible with new php?:

    Also, in my case the specific file which is no longer compatible appears to simplexlsx.class.php and I'm not sure the site is actually making use of that anywhere (it seems it is a Excel reader and we aren't using anything to do with Excel anywhere on the website), so can't help wondering if I could just delete that file...

    Ah, tried that on the cloned version of the app I'm debugging things with and of course (as I half expected) I then got a load of errors for files that refer to that file... so I deleted those references too...

    And now it seems to be working fine!

    So for now I'll just do the same thing on the actual app and then update.

    Perhaps in the future I'll need to do the scrape to static HTML thing... but no immediate need now (but still interested in easy ways to accomplish that).

  • Wordpress Update Message

    9
    0 Votes
    9 Posts
    710 Views
    micmcM

    @subven said in Wordpress Update Message:

    @robi make a clone from a backup and update the cloned site. Take a look at the live log while opening the site. It will tell you exactly where it breaks and why. For me it was because of outdated themes and old plugins and I fixed 6/8 sites so far.

    Excellent insight!
    Thanks 🙂

  • Wordpress hardening

    5
    1 Votes
    5 Posts
    303 Views
    P

    @privsec Filter admin access by IP address, check this article:

    Securing WordPress admin area and wp-login.php via VPN

    Let me know

  • Failed loading /usr/lib/php/20190902/ioncube_loader_lin_8.1.so

    Solved
    12
    1 Votes
    12 Posts
    2k Views
    girishG

    @necrevistonnezr Can you try php -v ?

    root@74a6cc7a-143b-4085-a8c8-ecd1555d8cc7:/app/code# php -v PHP 8.1.12 (cli) (built: Oct 28 2022 17:39:37) (NTS) Copyright (c) The PHP Group Zend Engine v4.1.12, Copyright (c) Zend Technologies with the ionCube PHP Loader v12.0.2, Copyright (c) 2002-2022, by ionCube Ltd. with Zend OPcache v8.1.12, Copyright (c), by Zend Technologies

    It shows above that it's there .

  • smtp mailer config lost after restore from backup

    10
    0 Votes
    10 Posts
    773 Views
    girishG

    @subven said in smtp mailer config lost after restore from backup:

    @girish AFAIK passwords in environment variables change after restart (from what I remember regarding the LAMP app) so what is the point in hardcoding them into something like a plugin? You could use the variable for SMTP_PASSWORD in your config file though.

    Assuming you mean the Cloudron part, the Cloudron environment variables are kept "constant" over the life cycle of an app. Initially, our idea was to change these periodically automatically for security but it seems people put the database values into into other apps which breaks. So, we didn't implement it.

    As for putting it in the plugin, the smtp plugin we use reads the password from the database and does not use config.php - https://plugins.trac.wordpress.org/browser/smtp-mailer/trunk/main.php#L725 .

  • Is xmlrpc.php file necessary for wordpress?

    6
    0 Votes
    6 Posts
    595 Views
    P

    @jdaviescoates said in Is xmlrpc.php file necessary for wordpress?:

    I highly recommend installing WordFence on every single WordPress install.

    @jdaviescoates Very good advice 👏 They keep secured all Wordpress instances, even before of owner plugin updates, when they find any threat.

  • PHP version

    14
    0 Votes
    14 Posts
    1k Views
    humptydumptyH

    @nebulon I unzipped before uploading the content via drag & drop into the file manager window.

  • Very bizarre issue with cloned app

    12
    0 Votes
    12 Posts
    958 Views
    jdaviescoatesJ

    I used the All in One Migration plugin that has always worked great before (but think this is the first time I've used it with a wordpress.com site)

    And yeah, whilst I had saved permalinks on goopagain, perhaps a good ol' go hit save on permalinks over on goop might've done the trick 🤷

  • Multisite - Themes Removed after App Restart

    5
    0 Votes
    5 Posts
    483 Views
    J

    @micmc No, I'm not using a WP Reset Plugin. Yes, they're all Multisite Compatible to my knowledge. I'm going debug everything and see what I can come up with. I appreciate the feedback, will report back here with any issues.

  • WPvivid Won't restore my WordPress site

    Moved Solved
    10
    0 Votes
    10 Posts
    3k Views
    jdaviescoatesJ

    @yoyo2p said in WPvivid Won't restore my WordPress site:

    developer version of wp vivid

    No, you want the Developer version of the Cloudron WordPress app, instead of the "Managed" (aka so locked down it doesn't actually work) version.

    In the app store, choose WordPress (Developer) instead of just WordPress

    Screenshot from 2022-08-12 11-17-31.png

    This distinction seems to serve only to confuse people and leads to all sorts of headaches. IMHO the managed WordPress shouldn't exist and only the WordPress (Developer) app should be in the app store.

    Or, at the very least "WordPress (Developer)" ought to be renamed to just "WordPress", and the existing managed WordPress app, which is currently called just "WordPress" should be renamed to "WordPress (Managed)" and a message should be added to the install page warning them that they probably want the unmanaged one that actually works, not the locked down one that mostly just doesn't.

  • This topic is deleted!

    Moved Solved
    3
    0 Votes
    3 Posts
    26 Views
  • Cannot login to site after migrating a wordpress.com site to Cloudron

    Solved
    14
    0 Votes
    14 Posts
    1k Views
    d19dotcaD

    I think I had that issue a long time ago and it was something to do with the Auth-LDAP plugin not saving the passwords in the database, and so if that plugin gets disabled then we can't login 'offline'. The WP CLI will be the best way to work around it I think, as it seems you did already also with the password reset tool too! 🙂

  • Email From name back to “WordPress” after last update

    15
    3 Votes
    15 Posts
    1k Views
    girishG

    There was a UI bug in the dashboard, which I have fixed here - https://git.cloudron.io/cloudron/dashboard/-/commit/7291d5a9ecf3ce1a450f08f59c075e453ca0297a

  • Whitelisting VPN in htaccess to secure app

    12
    0 Votes
    12 Posts
    1k Views
    girishG

    @JUVOJustin Have you tried just putting the public IP of the server in htaccess? When openvpn channels the request to wordpress, it will see the public IP of the server itself and not the private/tunnel IP.

  • Configure ldap groups

    3
    1 Votes
    3 Posts
    320 Views
    JUVOJustinJ

    @jdaviescoates yep that´s the plugin. To be honest i have no clue about ldap 😄 I actually don´t know how i should set up the plugin to work with the cloudron groups. Thats what my question is mainly about. If it is an issue with the plugin i could reach out to the developer.

  • Error : Inactive - Error getting IP

    6
    0 Votes
    6 Posts
    550 Views
    M

    @girish Thanks very much, worked! Thanks for the quick replies!

  • Running WP CLI in bulk across WP apps, or running them remotely?

    3
    1 Votes
    3 Posts
    346 Views
    d19dotcaD

    @martinkbs Ah very interesting! I'll have to look deeper into that option. Pretty cool looking. Thanks for the idea. 🙂

  • Wordpress developer site shows non updated

    Moved Solved
    2
    0 Votes
    2 Posts
    187 Views
    M

    NVM I found a thread that answer this. Based on my current understanding, the cloudron dashboard shows cloudron package updates. For wordpress core in developer edition we have to control that update.

  • Wrong/missing minor version for WP developer edition

    17
    0 Votes
    17 Posts
    1k Views
    G

    @robi I think this says it all:

    https://git.cloudron.io/cloudron/wordpress-managed-app/-/issues/32

  • 1 Votes
    2 Posts
    226 Views
    micmcM

    @scooke Hello as far as I know you should have this running on WP multisite and thus moving it to Cloudron should be as easy as migrating any WP site.

    That being said, it may depends on how you have set your multisite either using sub domains or sub directories. I'm running a multisite using sub directories on Cloudron for a few years without any problems.

    There has been a few discussions here on the forum about the capacity of using it with sub domains, however I'm not sure if anything has ended up with a solution for this issue. Maybe, you can make a search for that on the forum, which I will check on myself as well as you remind us about it. 😳